CVE-2024-36975
KEYS: trusted: Do not use WARN when encode fails
Mitigation
- Upgrade Linux to 050bf3c793a07f96bd1e2fd62e1447f731ed733b or later.
Who should check
- Anyone running Linux >= f2219745250f388edacabe6cca73654131c67d0a, < 96f650995c70237b061b497c66755e32908f8972; >= f2219745250f388edacabe6cca73654131c67d0a, < 681935009fec3fc22af97ee312d4a24ccf3cf087; >= f2219745250f388edacabe6cca73654131c67d0a, < 1c652e1e10676f942149052d9329b8bf2703529a; >= f2219745250f388edacabe6cca73654131c67d0a, < d32c6e09f7c4bec3ebc4941323f0aa6366bc1487; >= f2219745250f388edacabe6cca73654131c67d0a, < ff91cc12faf798f573dab2abc976c1d5b1862fea; >= f2219745250f388edacabe6cca73654131c67d0a, < 050bf3c793a07f96bd1e2fd62e1447f731ed733b
- Anyone running Linux 5.13
Vulnerability facts
- Affected
- Linux >= f2219745250f388edacabe6cca73654131c67d0a, < 96f650995c70237b061b497c66755e32908f8972; >= f2219745250f388edacabe6cca73654131c67d0a, < 681935009fec3fc22af97ee312d4a24ccf3cf087; >= f2219745250f388edacabe6cca73654131c67d0a, < 1c652e1e10676f942149052d9329b8bf2703529a; >= f2219745250f388edacabe6cca73654131c67d0a, < d32c6e09f7c4bec3ebc4941323f0aa6366bc1487; >= f2219745250f388edacabe6cca73654131c67d0a, < ff91cc12faf798f573dab2abc976c1d5b1862fea; >= f2219745250f388edacabe6cca73654131c67d0a, < 050bf3c793a07f96bd1e2fd62e1447f731ed733b; Linux 5.13
- Fixed in
- Linux 96f650995c70237b061b497c66755e32908f8972, Linux 681935009fec3fc22af97ee312d4a24ccf3cf087, Linux 1c652e1e10676f942149052d9329b8bf2703529a, Linux 050bf3c793a07f96bd1e2fd62e1447f731ed733b
- 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.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: Do not use WARN when encode fails When asn1_encode_sequence() fails, WARN is not the correct solution. 1. asn1_encode_sequence() is not an internal function (located in lib/asn1_encode.c). 2. Location is known, which makes the stack trace useless. 3. Results a crash if panic_on_warn is set. It is also noteworthy that the use of WARN is undocumented, and it should be avoided unless there is a carefully considered rationale to use it. Replace WARN with pr_err, and print the return value instead, which is only useful piece of information.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f2219745250f388edacabe6cca73654131c67d0a, < 96f650995c70237b061b497c66755e32908f8972; >= f2219745250f388edacabe6cca73654131c67d0a, < 681935009fec3fc22af97ee312d4a24ccf3cf087; >= f2219745250f388edacabe6cca73654131c67d0a, < 1c652e1e10676f942149052d9329b8bf2703529a; >= f2219745250f388edacabe6cca73654131c67d0a, < d32c6e09f7c4bec3ebc4941323f0aa6366bc1487; >= f2219745250f388edacabe6cca73654131c67d0a, < ff91cc12faf798f573dab2abc976c1d5b1862fea; >= f2219745250f388edacabe6cca73654131c67d0a, < 050bf3c793a07f96bd1e2fd62e1447f731ed733b | — | cvelist |
| Linux | 5.13 | — | 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-36975. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-36975.md Affected: Linux >= f2219745250f388edacabe6cca73654131c67d0a, < 96f650995c70237b061b497c66755e32908f8972; >= f2219745250f388edacabe6cca73654131c67d0a, < 681935009fec3fc22af97ee312d4a24ccf3cf087; >= f2219745250f388edacabe6cca73654131c67d0a, < 1c652e1e10676f942149052d9329b8bf2703529a; >= f2219745250f388edacabe6… Fixed in: Linux 96f650995c70237b061b497c66755e32908f8972, Linux 681935009fec3fc22af97ee312d4a24ccf3cf087, Linux 1c652e1e10676f942149052d9329b8bf2703529a, Linux 050bf3c793a07f96bd1e2fd62e1447f731ed733b 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
Patches
- https://git.kernel.org/stable/c/96f650995c70237b061b497c66755e32908f8972
- https://git.kernel.org/stable/c/681935009fec3fc22af97ee312d4a24ccf3cf087
- https://git.kernel.org/stable/c/1c652e1e10676f942149052d9329b8bf2703529a
- https://git.kernel.org/stable/c/d32c6e09f7c4bec3ebc4941323f0aa6366bc1487
- https://git.kernel.org/stable/c/ff91cc12faf798f573dab2abc976c1d5b1862fea
- https://git.kernel.org/stable/c/050bf3c793a07f96bd1e2fd62e1447f731ed733b
FAQ
Is CVE-2024-36975 being exploited?
There is no confirmed exploitation: CVE-2024-36975 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-36975?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-36975?
Linux >= f2219745250f388edacabe6cca73654131c67d0a, < 96f650995c70237b061b497c66755e32908f8972; >= f2219745250f388edacabe6cca73654131c67d0a, < 681935009fec3fc22af97ee312d4a24ccf3cf087; >= f2219745250f388edacabe6cca73654131c67d0a, < 1c652e1e10676f942149052d9329b8bf2703529a; >= f2219745250f388edacabe6cca73654131c67d0a, < d32c6e09f7c4bec3ebc4941323f0aa6366bc1487; >= f2219745250f388edacabe6cca73654131c67d0a, < ff91cc12faf798f573dab2abc976c1d5b1862fea; >= f2219745250f388edacabe6cca73654131c67d0a, < 050bf3c793a07f96bd1e2fd62e1447f731ed733b; Linux 5.13.
Is there a fix for CVE-2024-36975?
Yes. Fixed in Linux 96f650995c70237b061b497c66755e32908f8972, Linux 681935009fec3fc22af97ee312d4a24ccf3cf087, Linux 1c652e1e10676f942149052d9329b8bf2703529a, Linux 050bf3c793a07f96bd1e2fd62e1447f731ed733b. Upgrade Linux to 050bf3c793a07f96bd1e2fd62e1447f731ed733b or later.
How do I check if I'm affected by CVE-2024-36975?
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.