CVE-2024-46698
video/aperture: optionally match the device in sysfb_disable()
Mitigation
- Upgrade Linux to 6.2 or later.
Who should check
- Anyone running Linux >= 5ae3716cfdcd286268133867f67d0803847acefc, < 17e78f43de0c6da34204cc858b4cc05671ea9acf; >= 5ae3716cfdcd286268133867f67d0803847acefc, < b49420d6a1aeb399e5b107fc6eb8584d0860fbd7; 485ec8f8e1d8ae12aa1daa5ad345ba8940ad2db7; >= 6.1.47, < 6.2
- Anyone running Linux 6.5
Vulnerability facts
- Affected
- Linux >= 5ae3716cfdcd286268133867f67d0803847acefc, < 17e78f43de0c6da34204cc858b4cc05671ea9acf; >= 5ae3716cfdcd286268133867f67d0803847acefc, < b49420d6a1aeb399e5b107fc6eb8584d0860fbd7; 485ec8f8e1d8ae12aa1daa5ad345ba8940ad2db7; >= 6.1.47, < 6.2; Linux 6.5
- Fixed in
- Linux 17e78f43de0c6da34204cc858b4cc05671ea9acf, Linux 6.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: video/aperture: optionally match the device in sysfb_disable() In aperture_remove_conflicting_pci_devices(), we currently only call sysfb_disable() on vga class devices. This leads to the following problem when the pimary device is not VGA compatible: 1. A PCI device with a non-VGA class is the boot display 2. That device is probed first and it is not a VGA device so sysfb_disable() is not called, but the device resources are freed by aperture_detach_platform_device() 3. Non-primary GPU has a VGA class and it ends up calling sysfb_disable() 4. NULL pointer dereference via sysfb_disable() since the resources have already been freed by aperture_detach_platform_device() when it was called by the other device. Fix this by passing a device pointer to sysfb_disable() and checking the device to determine if we should execute it or not. v2: Fix build when CONFIG_SCREEN_INFO is not set v3: Move device check into the mutex Drop primary variable in aperture_remove_conflicting_pci_devices() Drop __init on pci sysfb_pci_dev_is_enabled()
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 5ae3716cfdcd286268133867f67d0803847acefc, < 17e78f43de0c6da34204cc858b4cc05671ea9acf; >= 5ae3716cfdcd286268133867f67d0803847acefc, < b49420d6a1aeb399e5b107fc6eb8584d0860fbd7; 485ec8f8e1d8ae12aa1daa5ad345ba8940ad2db7; >= 6.1.47, < 6.2 | — | cvelist |
| Linux | 6.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-46698. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-46698.md Affected: Linux >= 5ae3716cfdcd286268133867f67d0803847acefc, < 17e78f43de0c6da34204cc858b4cc05671ea9acf; >= 5ae3716cfdcd286268133867f67d0803847acefc, < b49420d6a1aeb399e5b107fc6eb8584d0860fbd7; 485ec8f8e1d8ae12aa1daa5ad345ba8940ad2db7; >= 6.1.47, < 6.2; Linux 6.5 Fixed in: Linux 17e78f43de0c6da34204cc858b4cc05671ea9acf, Linux 6.2 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2024-46698 being exploited?
There is no confirmed exploitation: CVE-2024-46698 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-46698?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-46698?
Linux >= 5ae3716cfdcd286268133867f67d0803847acefc, < 17e78f43de0c6da34204cc858b4cc05671ea9acf; >= 5ae3716cfdcd286268133867f67d0803847acefc, < b49420d6a1aeb399e5b107fc6eb8584d0860fbd7; 485ec8f8e1d8ae12aa1daa5ad345ba8940ad2db7; >= 6.1.47, < 6.2; Linux 6.5.
Is there a fix for CVE-2024-46698?
Yes. Fixed in Linux 17e78f43de0c6da34204cc858b4cc05671ea9acf, Linux 6.2. Upgrade Linux to 6.2 or later.
How do I check if I'm affected by CVE-2024-46698?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.