~ubuntu-branches/ubuntu/natty/linux-ti-omap4/natty-security

« back to all changes in this revision

Viewing changes to net/sunrpc/xdr.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Andy Whitcroft, Upstream Kernel Changes
  • Date: 2012-07-27 15:54:18 UTC
  • Revision ID: package-import@ubuntu.com-20120727155418-4brrg7mqamshnlxu
Tags: 2.6.38-1209.25
* Release Tracking Bug
  - LP: #1029784

[ Andy Whitcroft ]

* SAUCE: rds_ib_send() -- prevent local pings triggering BUG_ON()
  - LP: #1016299
  - CVE-2012-2372

[ Upstream Kernel Changes ]

* fcaps: clear the same personality flags as suid when fcaps are used
  - LP: #987571
  - CVE-2012-2123
* security: fix compile error in commoncap.c
  - LP: #987571
  - CVE-2012-2123
* net: sock: validate data_len before allocating skb in
  sock_alloc_send_pskb()
  - LP: #1006622
  - CVE-2012-2136
* dl2k: Clean up rio_ioctl
  - CVE-2012-2313
* hfsplus: Fix potential buffer overflows
  - CVE-2012-2319
* nfs: don't lose MS_SYNCHRONOUS on remount of noac mount
  - LP: #775809
* NFSv4.1: Ensure state manager thread dies on last umount
  - LP: #775809
* NFSv4: Handle expired stateids when the lease is still valid
  - LP: #793702
* NFSv4.1: Fix the handling of NFS4ERR_SEQ_MISORDERED errors
  - LP: #793702
* NFSv4: include bitmap in nfsv4 get acl data
  - LP: #893147
  - CVE-2011-4131
* Avoid reading past buffer when calling GETACL
  - LP: #1002505
  - CVE-2012-2375
* Avoid beyond bounds copy while caching ACL
  - LP: #1002505
  - CVE-2012-2375
* Fix length of buffer copied in __nfs4_get_acl_uncached
  - LP: #1002505
  - CVE-2012-2375

Show diffs side-by-side

added added

removed removed

Lines of Context:
296
296
 * Copies data into an arbitrary memory location from an array of pages
297
297
 * The copy is assumed to be non-overlapping.
298
298
 */
299
 
static void
 
299
void
300
300
_copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len)
301
301
{
302
302
        struct page **pgfrom;
324
324
 
325
325
        } while ((len -= copy) != 0);
326
326
}
 
327
EXPORT_SYMBOL_GPL(_copy_from_pages);
327
328
 
328
329
/*
329
330
 * xdr_shrink_bufhead