CVE-2018-11506 Memory corruption in n/a
Local attackers can trigger a stack-based buffer overflow in the Linux kernel SCSI driver via CDROMREADMODE2 ioctl, causing denial of service or potential code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-11506?
CVE-2018-11506 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 28 May 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The sr_do_ioctl function in drivers/scsi/sr_ioctl.c in the Linux kernel through 4.16.12 allows local users to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact because sense buffers have different sizes at the CDROM layer and the SCSI layer, as demonstrated by a CDROMREADMODE2 ioctl call.
Weakness: CWE-787
Which versions are affected by CVE-2018-11506?
It affects 3 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel.
How do I fix CVE-2018-11506?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-11506 being exploited?
There is no known exploitation of CVE-2018-11506 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2018-11506, GHSA-gq53-r8v6-47q9, UBUNTU-CVE-2018-11506.