Skip to content
OpenAdvisories
Unscored Public exploit CVE-2018-7273 EUVD-2018-19008GHSA-749m-f23f-j6rq

In the Linux kernel through 4.15.4, the floppy driver reveals the addresses of kernel functions and global variables using printk calls wit…

Published Feb 21, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

In the Linux kernel through 4.15.4, the floppy driver reveals the addresses of kernel functions and global variables using printk calls within the function show_floppy in drivers/block/floppy.c. An attacker can read this information from dmesg and use the addresses to find the locations of kernel code and data and bypass kernel security protections such as KASLR.

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.15.4-1 —
Debian 13 linux 4.15.4-1 —
Debian 12 linux 4.15.4-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS linux-snapdragon 4.15.0-1053.57 —
Ubuntu 16.04 LTS linux-azure 4.15.0-1013.13~16.04.2 —
Ubuntu 16.04 LTS linux-gcp 4.15.0-1014.14~16.04.1 —
Ubuntu 16.04 LTS linux-hwe 4.15.0-24.26~16.04.1 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS linux 4.4.0-222.255 —
Ubuntu Pro 16.04 LTS linux-aws 4.4.0-1138.152 —
Ubuntu Pro 16.04 LTS linux-kvm 4.4.0-1103.112 —
Ubuntu Pro 14.04 LTS linux +2 No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References