Description
Use-after-free vulnerability in the ffs_user_copy_worker function in drivers/usb/gadget/function/f_fs.c in the Linux kernel before 4.5.3 allows local users to gain privileges by accessing an I/O data structure after a certain callback call.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.5.3-1 | — |
| Debian 13 | linux | 4.5.3-1 | — |
| Debian 12 | linux | 4.5.3-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | linux | 4.4.0-24.43 | — |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1012.16 | — |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1015.18 | — |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-24.43~14.04.1 | — |
References
- http://source.android.com/security/bulletin/2016-11-01.html
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=38740a5b87d53ceb89eb2c970150f6e94e00373a
- 94197 vdb-entry
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.3
- https://github.com/torvalds/linux/commit/38740a5b87d53ceb89eb2c970150f6e94e00373a