Bug 1220214 (CVE-2024-26582) - VUL-0: CVE-2024-26582: kernel: net: tls: fix use-after-free with partial reads and async decrypt
Summary: VUL-0: CVE-2024-26582: kernel: net: tls: fix use-after-free with partial read...
Status: IN_PROGRESS
Alias: CVE-2024-26582
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P2 - High : Major
Target Milestone: ---
Assignee: Denis Kirjanov
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/394736/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-26582:7.3:(AV:...
Keywords:
Depends on:
Blocks: 1226329
  Show dependency treegraph
 
Reported: 2024-02-22 14:17 UTC by SMASH SMASH
Modified: 2024-07-08 14:31 UTC (History)
6 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
stoyan.manolov: needinfo? (mkubecek)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-02-22 14:17:40 UTC
In the Linux kernel, the following vulnerability has been resolved:

net: tls: fix use-after-free with partial reads and async decrypt

tls_decrypt_sg doesn't take a reference on the pages from clear_skb,
so the put_page() in tls_decrypt_done releases them, and we trigger
a use-after-free in process_rx_list when we try to read from the
partially-read skb.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26582
https://www.cve.org/CVERecord?id=CVE-2024-26582

Patch:
https://git.kernel.org/stable/c/32b55c5ff9103b8508c1e04bfa5a08c64e7a925f
Comment 1 Andrea Mattiazzo 2024-02-22 14:20:16 UTC
Tracking as affected:
 - SLE15-SP6
 - stable
Comment 2 Joey Lee 2024-02-23 05:48:17 UTC
Hi Michal,

Because this is a issue for net/tls. Could you please help to handle it?

If this is not in your area, just reset bug assigner to kernel-bugs@suse.de. Kernel Security Sentinel will find other expert.

Thanks a lot!