CVE-2022-49218
drm/dp: Fix OOB read when handling Post Cursor2 register
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 79465e0ffeb9e4866939ea562bc55367be91e595, < aeaed9a9fe694f8b1462fb81e2d33298c929180b; >= 79465e0ffeb9e4866939ea562bc55367be91e595, < a2151490cc6c57b368d7974ffd447a8b36ade639
- Anyone running Linux 5.5
Vulnerability facts
- Affected
- Linux >= 79465e0ffeb9e4866939ea562bc55367be91e595, < aeaed9a9fe694f8b1462fb81e2d33298c929180b; >= 79465e0ffeb9e4866939ea562bc55367be91e595, < a2151490cc6c57b368d7974ffd447a8b36ade639; Linux 5.5
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- CWE
- CWE-125
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: drm/dp: Fix OOB read when handling Post Cursor2 register The link_status array was not large enough to read the Adjust Request Post Cursor2 register, so remove the common helper function to avoid an OOB read, found with a -Warray-bounds build: drivers/gpu/drm/drm_dp_helper.c: In function 'drm_dp_get_adjust_request_post_cursor': drivers/gpu/drm/drm_dp_helper.c:59:27: error: array subscript 10 is outside array bounds of 'const u8[6]' {aka 'const unsigned char[6]'} [-Werror=array-bounds] 59 | return link_status[r - DP_LANE0_1_STATUS]; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/drm_dp_helper.c:147:51: note: while referencing 'link_status' 147 | u8 drm_dp_get_adjust_request_post_cursor(const u8 link_status[DP_LINK_STATUS_SIZE], | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Replace the only user of the helper with an open-coded fetch and decode, similar to drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c.
Affected and fixed versions
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-2022-49218. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49218.md Affected: Linux >= 79465e0ffeb9e4866939ea562bc55367be91e595, < aeaed9a9fe694f8b1462fb81e2d33298c929180b; >= 79465e0ffeb9e4866939ea562bc55367be91e595, < a2151490cc6c57b368d7974ffd447a8b36ade639; Linux 5.5 Fixed in: no fixed version listed yet 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-2022-49218 being exploited?
There is no confirmed exploitation: CVE-2022-49218 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-2022-49218?
High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49218?
Linux >= 79465e0ffeb9e4866939ea562bc55367be91e595, < aeaed9a9fe694f8b1462fb81e2d33298c929180b; >= 79465e0ffeb9e4866939ea562bc55367be91e595, < a2151490cc6c57b368d7974ffd447a8b36ade639; Linux 5.5.
Is there a fix for CVE-2022-49218?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-49218?
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.