CVE-2024-46698
MEDIUM 5.5CVSS 3.1In 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:
- A PCI device with a non-VGA class is the boot display
- 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() - Non-primary GPU has a VGA class and it ends up calling sysfb_disable()
- 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()
- Published
- 13 Sep 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-476
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.5, < 6.10.8 | 6.10.8 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* |
= 6.11 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:* |
= 6.11 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:* |
= 6.11 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:* |
= 6.11 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:* |
= 6.11 |
References
- https://git.kernel.org/stable/c/17e78f43de0c6da34204cc858b4cc05671ea9acf · Patch
- https://git.kernel.org/stable/c/b49420d6a1aeb399e5b107fc6eb8584d0860fbd7 · Patch
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 13 Sep 2024)