Skip to content
OpenAdvisories

Description

The ring_buffer_resize function in kernel/trace/ring_buffer.c in the profiling subsystem in the Linux kernel before 4.6.1 mishandles certain integer calculations, which allows local users to gain privileges by writing to the /sys/kernel/debug/tracing/buffer_size_kb file.

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.

ReleasePackageFixed inAdvisory
Debian 14 linux 4.6.1-1 —
Debian 13 linux 4.6.1-1 —
Debian 12 linux 4.6.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-riscv +6 No fix yet —
Ubuntu 22.04 LTS linux-riscv +2 No fix yet —
Ubuntu 20.04 LTS linux-gke +4 No fix yet —
Ubuntu 18.04 LTS linux-gcp +4 No fix yet —
Ubuntu 16.04 LTS linux 4.4.0-28.47 —
Ubuntu 16.04 LTS linux-raspi2 4.4.0-1016.22 —
Ubuntu 16.04 LTS linux-snapdragon 4.4.0-1019.22 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS linux 3.13.0-132.181 USN-3422-1
Ubuntu 14.04 LTS linux-lts-xenial 4.4.0-28.47~14.04.1 —
Ubuntu Pro 20.04 LTS linux-azure-fde-5.15 No fix yet —

Advisories 1

References