[Bug 731878] Re: shutdown(2) behavior changed in kernel

2012-01-30 Thread Paolo Pisati
** Changed in: linux-ti-omap4 (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/731878/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-09-20 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-ti-omap4 - 2.6.38-1209.15

---
linux-ti-omap4 (2.6.38-1209.15) natty-proposed; urgency=low

  * Release tracking bug
- LP: #837761

  [ Paolo Pisati ]

  * [Config] Turn on CONFIG_USER_NS and DEVPTS_MULTIPLE_INSTANCES.
- LP: #787749

  [ Tim Gardner ]

  * [Config] Add enic/fnic to nic-modules udeb, CVE-2011-1020
- LP: #801610

  [ Upstream Kernel Changes ]

  * mpt2sas: prevent heap overflows and unchecked reads
- LP: #780546
  * agp: fix arbitrary kernel memory writes
- LP: #775809
  * can: add missing socket check in can/raw release
- LP: #780546
  * agp: fix OOM and buffer overflow
- LP: #775809
  * bonding: Incorrect TX queue offset, CVE-2011-1581
- LP: #792312
- CVE-2011-1581
  * fs/partitions/efi.c: corrupted GUID partition tables can cause kernel
oops
- LP: #795418
- CVE-2011-1577
  * can: Add missing socket check in can/bcm release.
- LP: #796502
- CVE-2011-1598
  * USB: ehci: remove structure packing from ehci_def
- LP: #791552
  * taskstats: don't allow duplicate entries in listener mode,
CVE-2011-2484
- LP: #806390
- CVE-2011-2484
  * ext4: init timer earlier to avoid a kernel panic in __save_error_info,
CVE-2011-2493
- LP: #806929
- CVE-2011-2493
  * dccp: handle invalid feature options length, CVE-2011-1770
- LP: #806375
- CVE-2011-1770
  * pagemap: close races with suid execve, CVE-2011-1020
- LP: #813026
- CVE-2011-1020
  * report errors in /proc/*/*map* sanely, CVE-2011-1020
- LP: #813026
- CVE-2011-1020
  * close race in /proc/*/environ, CVE-2011-1020
- LP: #813026
- CVE-2011-1020
  * auxv: require the target to be tracable (or yourself), CVE-2011-1020
- LP: #813026
- CVE-2011-1020
  * deal with races in /proc/*/{syscall, stack, personality}, CVE-2011-1020
- LP: #813026
- CVE-2011-1020
  * rose: Add length checks to CALL_REQUEST parsing, CVE-2011-1493
- LP: #816550
- CVE-2011-1493
  * GFS2: make sure fallocate bytes is a multiple of blksize, CVE-2011-2689
- LP: #819572
- CVE-2011-2689
  * Bluetooth: l2cap and rfcomm: fix 1 byte infoleak to userspace.
- LP: #819569
- CVE-2011-2492
  * Add mount option to check uid of device being mounted = expect uid,
CVE-2011-1833
- LP: #732628
- CVE-2011-1833
  * ipv6: make fragment identifications less predictable, CVE-2011-2699
- LP: #827685
- CVE-2011-2699
  * perf: Fix software event overflow, CVE-2011-2918
- LP: #834121
- CVE-2011-2918
  * proc: fix oops on invalid /proc//maps access, CVE-2011-1020
- LP: #813026
- CVE-2011-1020

linux-ti-omap4 (2.6.38-1209.13) natty; urgency=low

  [ Tim Gardner ]

  * Release Tracking Bug
- LP: #772381

  [ Brad Figg ]

  * Ubuntu-2.6.38-9.43

  [ Bryan Wu ]

  * merge Ubuntu-2.6.38-9.43
  * cherry-pick 6 patches from u2 of 'for-ubuntu' branch
  * [Config] Sync up configs for 2.6.38.4

  [ Herton Ronaldo Krzesinski ]

  * SAUCE: Revert "x86, hibernate: Initialize mmu_cr4_features during boot"
- LP: #764758

  [ Leann Ogasawara ]

  * [Config] updateconfigs for 2.6.38.4

  [ Paolo Pisati ]

  * [Config] s/USB_MUSB_TUSB6010/USB_MUSB_OMAP2PLUS/ on omap3 to get musb
- LP: #759913

  [ Serge E. Hallyn ]

  * SAUCE: kvm: fix push of wrong eip when doing softint
- LP: #747090

  [ Tim Gardner ]

  * [Config] Add cachefiles.ko to virtual flavour
- LP: #770430

  [ Upstream Kernel Changes ]

  * Revert "net/sunrpc: Use static const char arrays"
- LP: #761134
  * Revert "x86: Cleanup highmap after brk is concluded"
- LP: #761134
  * ALSA: hda - Fix SPDIF out regression on ALC889
- LP: #761134
  * ALSA: Fix yet another race in disconnection
- LP: #761134
  * ALSA: vmalloc buffers should use normal mmap
- LP: #761134
  * perf: Better fit max unprivileged mlock pages for tools needs
- LP: #761134
  * myri10ge: fix rmmod crash
- LP: #761134
  * cciss: fix lost command issue
- LP: #761134
  * ath9k: Fix kernel panic in AR2427
- LP: #761134
  * sound/oss/opl3: validate voice and channel indexes
- LP: #761134
  * mac80211: initialize sta->last_rx in sta_info_alloc
- LP: #761134
  * ses: show devices for enclosures with no page 7
- LP: #761134
  * ses: Avoid kernel panic when lun 0 is not mapped
- LP: #761134
  * PCI/ACPI: Report ASPM support to BIOS if not disabled from command line
- LP: #761134
  * eCryptfs: Unlock page in write_begin error path
- LP: #761134
  * eCryptfs: ecryptfs_keyring_auth_tok_for_sig() bug fix
- LP: #761134
  * crypto: aesni-intel - fixed problem with packets that are not multiple
of 64bytes
- LP: #761134
  * staging: usbip: bugfixes related to kthread conversion
- LP: #761134
  * staging: usbip: bugfix add number of packets for isochronous frames
- LP: #761134
  * staging: usbip: bugfix for isochronous packets and optimization
- LP: #761134
  * staging: hv: use syn

[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-05-03 Thread Bug Watch Updater
** Changed in: linux
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-04-25 Thread Tim Gardner
** Also affects: linux-ti-omap4 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux-ti-omap4 (Ubuntu Natty)
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-04-10 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 2.6.38-8.42

---
linux (2.6.38-8.42) natty; urgency=low

  [ David Henningsson ]

  * SAUCE: (drop after 2.6.38) ALSA: HDA: Fix dock mic for Lenovo
X220-tablet
- LP: #751033

  [ Gustavo F. Padovan ]

  * SAUCE: Revert "Bluetooth: Add new PID for Atheros 3011"
- LP: #720949

  [ Herton Ronaldo Krzesinski ]

  * SAUCE: (drop after 2.6.39) v4l: make sure drivers supply a zeroed
struct v4l2_subdev
- LP: #745213

  [ John Johansen ]

  * AppArmor: Fix masking of capabilities in complain mode
- LP: #748656

  [ Leann Ogasawara ]

  * [Config] Disable CONFIG_RTS_PSTOR for armel, powerpc

  [ Manoj Iyer ]

  * SAUCE: (drop after 2.6.38) add support for Lenovo tablet ID (0xE6)
- LP: #746652

  [ Steve Langasek ]

  * [Config] Make linux-libc-dev coinstallable under multiarch
- LP: #750585

  [ Tim Gardner ]

  * [Config] CONFIG_RTS_PSTOR=m
- LP: #698006

  [ Upstream Kernel Changes ]

  * Revert "tcp: disallow bind() to reuse addr/port"
- LP: #731878
  * ALSA: HDA: Add dock mic quirk for Lenovo Thinkpad X220
- LP: #746259
  * ALSA: HDA: New AD1984A model for Dell Precision R5500
- LP: #741516
  * Input: sparse-keymap - report scancodes with key events
  * Input: sparse-keymap - report KEY_UNKNOWN for unknown scan codes
  * KVM: SVM: Load %gs earlier if CONFIG_X86_32_LAZY_GS=n
- LP: #729085
  * watchdog: sp5100_tco.c: Check if firmware has set correct value in
tcobase.
- LP: #740011
  * staging: add rts_pstor for Realtek PCIE cardreader
- LP: #698006
  * staging: fix rts_pstor build errors
- LP: #698006
  * Staging: rts_pstor: fixed some brace code styling issues
- LP: #698006
  * staging: rts_pstor: potential NULL dereference
- LP: #698006
  * Staging: rts_pstor: fix read past end of buffer
- LP: #698006
  * staging: rts_pstor: delete a function
- LP: #698006
  * staging: rts_pstor: fix sparse warning
- LP: #698006
  * staging: rts_pstor: fix a bug that a greenhouse sd card can't be
recognized
- LP: #698006
  * staging: rts_pstor: optimize kmalloc to kzalloc
- LP: #698006
  * staging: rts_pstor: MSXC card power class
- LP: #698006
  * staging: rts_pstor: modify initial card clock
- LP: #698006
  * staging: rts_pstor: set lun_mode in a different place
- LP: #698006
  * x86, hibernate: Initialize mmu_cr4_features during boot
- LP: #752870
 -- Leann OgasawaraFri, 08 Apr 2011 09:24:59 
-0700

** Changed in: linux (Ubuntu Natty)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-04-07 Thread Brad Figg
** Tags added: natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-04-07 Thread Leann Ogasawara
Tim, we've got the same train of thought :)  I'm planning to keep an on
on the upstream thread and if no solution presents itself I'll revert
this patch prior to our final upload before kernel freeze.

** Changed in: linux (Ubuntu Natty)
   Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-04-07 Thread Tim Gardner
Leann - If upstream doesn't come up with a fix prior to kernel freeze,
then I suggest that we revert this patch in advance of our initial
release. The deficiency that this patch addresses has existed since
2.6.34. We can always cherry-pick it back if there is a dependent stable
update.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-04-07 Thread Leann Ogasawara
I've tested and confirmed that commit
c191a836a908d1dd6b40c503741f91b914de3348 is indeed the root cause of the
issue.  For those interested, a test kernel with the commit reverted can
be found at the following:

http://people.canonical.com/~ogasawara/lp731878/amd64/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-04-07 Thread Leann Ogasawara
I'll work on building a test kernel with commit
c191a836a908d1dd6b40c503741f91b914de3348 reverted so we can confirm it's
the culprit.  Will also keep an eye on the upstream discussion.

** Changed in: linux (Ubuntu Natty)
   Status: Confirmed => Triaged

** Changed in: linux (Ubuntu Natty)
 Assignee: Canonical Kernel Team (canonical-kernel-team) => Leann Ogasawara 
(leannogasawara)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-04-07 Thread Paul Sladen
>From the concurrent thread (noting that 'haproxy' no longer works):

  http://marc.info/?l=linux-netdev&m=130176733401613&w=2 (2011-04-02,
"tcp: disallow bind() to reuse addr/port regression in 2.6.38")

suggests a possible cause of:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c191a836a908d1dd6b40c503741f91b914de3348

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-04-07 Thread Dave Walker
** Tags added: server-nro

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-04-07 Thread Bug Watch Updater
** Changed in: linux
   Status: Unknown => Confirmed

** Changed in: linux
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-04-06 Thread Scott Moser
Its possible/likely that this is what I was running into in bug 712026

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-04-06 Thread Kees Cook
** Bug watch added: Linux Kernel Bug Tracker #32832
   http://bugzilla.kernel.org/show_bug.cgi?id=32832

** Also affects: linux via
   http://bugzilla.kernel.org/show_bug.cgi?id=32832
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-04-06 Thread Kees Cook
Running this testcase twice will show the problem on Natty but not
earlier kernels.

** Attachment added: "testcase.c"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/731878/+attachment/1990931/+files/testcase.c

** Also affects: linux (Ubuntu Natty)
   Importance: High
 Assignee: Canonical Kernel Team (canonical-kernel-team)
   Status: Confirmed

** Tags added: regression-release

** Description changed:

- Binary package hint: amavisd-new
+ shutdown(2) no longer shuts down the socket fully.
  
- The command /etc/init.d/amavis force-reload seems to crash amavis. It
- works fine in older Ubuntu releases, but in Natty, there seems to be
- some timing problem:
+ $ ./testcase
+ ...
+ $ ./testcase
+ bind: Address already in use
  
- ==
- Mar  9 11:45:50 myhost amavis[8166]: starting.  /usr/sbin/amavisd-new at 
myhost.alkernetz amavisd-new-2.6.4 (20090625), Unicode aware, LANG="de_DE.UTF-8"
- Mar  9 11:45:50 myhost amavis[8166]: Perl version   5.010001
- Mar  9 11:45:50 myhost amavis[8170]: (!)Net::Server: 2011/03/09-11:45:50 
Can't connect to TCP port 10024 on 127.0.0.1 [Die Adresse wird bereits 
verwendet]\n  at line 88 in file /usr/share/perl5/Net/Server/Proto/TCP.pm
- ==
- 
- The message means "Address already in use". It seems as if amavis does
- not shut down properly before restarting, then the socket cannot be
- used, and then the old instance dies.
+ This did not happen prior the Natty.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 731878] Re: shutdown(2) behavior changed in kernel

2011-04-06 Thread Kees Cook
This appears to be a behavioral change to the shutdown(2) function. The
socket gets only partially shut down. It's like "close()" was called
instead of "shutdown()" which is supposed to kill the socket everywhere.

** Summary changed:

- amavis force-reload crashes amavis
+ shutdown(2) behavior changed in kernel

** Package changed: amavisd-new (Ubuntu) => linux (Ubuntu)

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

** Changed in: linux (Ubuntu)
Milestone: None => ubuntu-11.04-beta-2

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Canonical Kernel Team (canonical-kernel-team)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731878

Title:
  shutdown(2) behavior changed in kernel

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs