CVE-2024-35841
net: tls, fix WARNIING in __sk_msg_free
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < 02e368eb1444a4af649b73cbe2edd51780511d86; >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < 294e7ea85f34748f04e5f3f9dba6f6b911d31aa8; >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < dc9dfc8dc629e42f2234e3327b75324ffc752bc9
- Anyone running Linux 6.5
Vulnerability facts
- Affected
- Linux >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < 02e368eb1444a4af649b73cbe2edd51780511d86; >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < 294e7ea85f34748f04e5f3f9dba6f6b911d31aa8; >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < dc9dfc8dc629e42f2234e3327b75324ffc752bc9; Linux 6.5
- Fixed in
- Linux 02e368eb1444a4af649b73cbe2edd51780511d86, Linux 294e7ea85f34748f04e5f3f9dba6f6b911d31aa8
- 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: net: tls, fix WARNIING in __sk_msg_free A splice with MSG_SPLICE_PAGES will cause tls code to use the tls_sw_sendmsg_splice path in the TLS sendmsg code to move the user provided pages from the msg into the msg_pl. This will loop over the msg until msg_pl is full, checked by sk_msg_full(msg_pl). The user can also set the MORE flag to hint stack to delay sending until receiving more pages and ideally a full buffer. If the user adds more pages to the msg than can fit in the msg_pl scatterlist (MAX_MSG_FRAGS) we should ignore the MORE flag and send the buffer anyways. What actually happens though is we abort the msg to msg_pl scatterlist setup and then because we forget to set 'full record' indicating we can no longer consume data without a send we fallthrough to the 'continue' path which will check if msg_data_left(msg) has more bytes to send and then attempts to fit them in the already full msg_pl. Then next iteration of sender doing send will encounter a full msg_pl and throw the warning in the syzbot report. To fix simply check if we have a full_record in splice code path and if not send the msg regardless of MORE flag.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < 02e368eb1444a4af649b73cbe2edd51780511d86; >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < 294e7ea85f34748f04e5f3f9dba6f6b911d31aa8; >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < dc9dfc8dc629e42f2234e3327b75324ffc752bc9 | — | 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-35841. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-35841.md Affected: Linux >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < 02e368eb1444a4af649b73cbe2edd51780511d86; >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < 294e7ea85f34748f04e5f3f9dba6f6b911d31aa8; >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < dc9dfc8dc629e42f2234e3327b75324ffc752bc9; Linux 6.5 Fixed in: Linux 02e368eb1444a4af649b73cbe2edd51780511d86, Linux 294e7ea85f34748f04e5f3f9dba6f6b911d31aa8 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-35841 being exploited?
There is no confirmed exploitation: CVE-2024-35841 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-35841?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-35841?
Linux >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < 02e368eb1444a4af649b73cbe2edd51780511d86; >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < 294e7ea85f34748f04e5f3f9dba6f6b911d31aa8; >= fe1e81d4f73b6cbaed4fcc476960d26770642842, < dc9dfc8dc629e42f2234e3327b75324ffc752bc9; Linux 6.5.
Is there a fix for CVE-2024-35841?
Yes. Fixed in Linux 02e368eb1444a4af649b73cbe2edd51780511d86, Linux 294e7ea85f34748f04e5f3f9dba6f6b911d31aa8. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-35841?
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.