Bug 2265517 (CVE-2024-26585) - CVE-2024-26585 kernel: tls: race between tx work scheduling and socket close
Summary: CVE-2024-26585 kernel: tls: race between tx work scheduling and socket close
Keywords:
Status: NEW
Alias: CVE-2024-26585
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: 2265521
Blocks: 2265516
TreeView+ depends on / blocked
 
Reported: 2024-02-22 14:28 UTC by Patrick Del Bello
Modified: 2024-05-02 22:50 UTC (History)
49 users (show)

Fixed In Version: kernel 6.8-rc5
Doc Type: If docs needed, set a value
Doc Text:
A race condition vulnerability was found in the tls subsystem of the Linux kernel. The submitting thread (recvmsg/sendmsg) may exit as soon as the async crypto handler calls complete(), which could lead to undefined behavior and a denial of service.
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:31 UTC
Red Hat Product Errata RHBA-2024:2650 0 None None None 2024-05-02 00:15:18 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:2394 0 None None None 2024-04-30 10:15:41 UTC

Description Patrick Del Bello 2024-02-22 14:28:37 UTC
Similarly to previous commit, the submitting thread (recvmsg/sendmsg) may exit as soon as the async crypto handler calls complete().
Reorder scheduling the work before calling complete(). This seems more logical in the first place, as it's the inverse order of what the submitting thread will do.

Comment 2 Mauro Matteo Cascella 2024-02-22 14:45:34 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2265521]

Comment 9 errata-xmlrpc 2024-04-30 10:15:38 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


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