Bug 2265519 (CVE-2024-26584) - CVE-2024-26584 kernel: tls: handle backlogging of crypto requests
Summary: CVE-2024-26584 kernel: tls: handle backlogging of crypto requests
Keywords:
Status: NEW
Alias: CVE-2024-26584
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2265534
Blocks: 2265516
TreeView+ depends on / blocked
 
Reported: 2024-02-22 14:29 UTC by Patrick Del Bello
Modified: 2024-08-13 00:26 UTC (History)
50 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:33 UTC
Red Hat Product Errata RHBA-2024:2650 0 None None None 2024-05-02 00:15:21 UTC
Red Hat Product Errata RHBA-2024:2686 0 None None None 2024-05-02 22:50:29 UTC
Red Hat Product Errata RHBA-2024:4354 0 None None None 2024-07-08 07:11:04 UTC
Red Hat Product Errata RHBA-2024:4365 0 None None None 2024-07-08 11:00:46 UTC
Red Hat Product Errata RHBA-2024:4461 0 None None None 2024-07-10 15:55:38 UTC
Red Hat Product Errata RHBA-2024:4463 0 None None None 2024-07-10 18:16:50 UTC
Red Hat Product Errata RHBA-2024:4494 0 None None None 2024-07-11 09:38:53 UTC
Red Hat Product Errata RHBA-2024:4495 0 None None None 2024-07-11 10:35:09 UTC
Red Hat Product Errata RHBA-2024:4507 0 None None None 2024-07-11 13:29:02 UTC
Red Hat Product Errata RHBA-2024:4535 0 None None None 2024-07-15 07:10:42 UTC
Red Hat Product Errata RHSA-2024:1881 0 None None None 2024-04-18 02:28:15 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:52 UTC
Red Hat Product Errata RHSA-2024:4211 0 None None None 2024-07-02 08:53:53 UTC
Red Hat Product Errata RHSA-2024:4352 0 None None None 2024-07-08 02:01:45 UTC
Red Hat Product Errata RHSA-2024:4447 0 None None None 2024-07-10 00:13:09 UTC
Red Hat Product Errata RHSA-2024:5255 0 None None None 2024-08-13 00:26:31 UTC

Description Patrick Del Bello 2024-02-22 14:29:03 UTC
Since we're setting the CRYPTO_TFM_REQ_MAY_BACKLOG flag on our requests to the crypto API, crypto_aead_{encrypt,decrypt} can return
 -EBUSY instead of -EINPROGRESS in valid situations. For example, when the cryptd queue for AESNI is full (easy to trigger with an
artificially low cryptd.cryptd_max_cpu_qlen), requests will be enqueued to the backlog but still processed. In that case, the async callback
will also be called twice: first with err == -EINPROGRESS, which it seems we can just ignore, then with err == 0.

Compared to Sabrina's original patch this version uses the new tls_*crypt_async_wait() helpers and converts the EBUSY to
EINPROGRESS to avoid having to modify all the error handling paths. The handling is identical.

Comment 3 Mauro Matteo Cascella 2024-02-22 15:36:16 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2265534]

Comment 7 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 8 errata-xmlrpc 2024-04-18 02:28:12 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 9 errata-xmlrpc 2024-04-30 10:15:49 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 10 Alex 2024-06-09 16:57:17 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-26584 is: CHECK	Maybe valid. Check manually. with impact LOW (that is an approximation based on flags REMOTE INIT LOG  ; these flags parsed automatically based on patch 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.

Comment 11 errata-xmlrpc 2024-07-02 08:53:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 12 errata-xmlrpc 2024-07-08 02:01:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 13 errata-xmlrpc 2024-07-10 00:13:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

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

Comment 14 errata-xmlrpc 2024-08-13 00:26:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

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


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