Bug 2265518 (CVE-2024-26582) - CVE-2024-26582 kernel: tls: use-after-free with partial reads and async decrypt
Summary: CVE-2024-26582 kernel: tls: use-after-free with partial reads and async decrypt
Keywords:
Status: NEW
Alias: CVE-2024-26582
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2265529
Blocks: 2265516
TreeView+ depends on / blocked
 
Reported: 2024-02-22 14:28 UTC by Patrick Del Bello
Modified: 2024-06-09 15:05 UTC (History)
51 users (show)

Fixed In Version: kernel 6.8-rc5
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:2634 0 None None None 2024-05-01 01:22:32 UTC
Red Hat Product Errata RHBA-2024:2650 0 None None None 2024-05-02 00:15:20 UTC
Red Hat Product Errata RHBA-2024:2686 0 None None None 2024-05-02 22:50:25 UTC
Red Hat Product Errata RHSA-2024:1881 0 None None None 2024-04-18 02:28:13 UTC
Red Hat Product Errata RHSA-2024:1882 0 None None None 2024-04-18 01:47:07 UTC
Red Hat Product Errata RHSA-2024:2394 0 None None None 2024-04-30 10:15:44 UTC

Description Patrick Del Bello 2024-02-22 14:28:54 UTC
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.

Comment 2 Mauro Matteo Cascella 2024-02-22 15:17:13 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2265529]

Comment 12 errata-xmlrpc 2024-04-18 01:47:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:1882 https://access.redhat.com/errata/RHSA-2024:1882

Comment 13 errata-xmlrpc 2024-04-18 02:28:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:1881 https://access.redhat.com/errata/RHSA-2024:1881

Comment 14 errata-xmlrpc 2024-04-30 10:15:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:2394 https://access.redhat.com/errata/RHSA-2024:2394

Comment 15 Alex 2024-06-09 15:05:52 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-26582 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags REMOTE READ SIMPLEFIX UAF SKB  ; these flags parsed automatically based on patche data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.


Note You need to log in before you can comment on or make changes to this bug.