Bug 2300453 (CVE-2024-41076) - CVE-2024-41076 kernel: NFSv4: Fix memory leak in nfs4_set_security_label
Summary: CVE-2024-41076 kernel: NFSv4: Fix memory leak in nfs4_set_security_label
Keywords:
Status: NEW
Alias: CVE-2024-41076
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2301641
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-29 15:50 UTC by OSIDB Bzimport
Modified: 2024-10-03 14:46 UTC (History)
4 users (show)

Fixed In Version: kernel 6.1.101, kernel 6.6.42, kernel 6.9.11, kernel 6.10
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the nfs4_set_security_label() in the Linux kernel, where the function fails to free the nfs_fattr attribute before exiting, leaving said memory allocation present. As the nfs4_set_security_label() is called repeatedly over time, this may lead to memory exhaustion.
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:6299 0 None None None 2024-09-04 08:17:22 UTC
Red Hat Product Errata RHBA-2024:7043 0 None None None 2024-09-24 09:43:27 UTC
Red Hat Product Errata RHBA-2024:7198 0 None None None 2024-09-26 09:50:55 UTC
Red Hat Product Errata RHBA-2024:7236 0 None None None 2024-09-26 14:37:59 UTC
Red Hat Product Errata RHBA-2024:7637 0 None None None 2024-10-03 14:46:16 UTC
Red Hat Product Errata RHSA-2024:5672 0 None None None 2024-08-21 00:26:32 UTC
Red Hat Product Errata RHSA-2024:5673 0 None None None 2024-08-21 00:15:11 UTC
Red Hat Product Errata RHSA-2024:5928 0 None None None 2024-08-28 12:21:14 UTC
Red Hat Product Errata RHSA-2024:6206 0 None None None 2024-09-03 15:43:37 UTC
Red Hat Product Errata RHSA-2024:7000 0 None None None 2024-09-24 02:35:15 UTC
Red Hat Product Errata RHSA-2024:7001 0 None None None 2024-09-24 00:39:49 UTC

Description OSIDB Bzimport 2024-07-29 15:50:43 UTC
In the Linux kernel, the following vulnerability has been resolved:

NFSv4: Fix memory leak in nfs4_set_security_label

We leak nfs_fattr and nfs4_label every time we set a security xattr.

Comment 1 Mauro Matteo Cascella 2024-07-30 13:52:10 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024072910-CVE-2024-41076-6124@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 13:52:33 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301641]

Comment 130 errata-xmlrpc 2024-08-21 00:15:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

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

Comment 131 errata-xmlrpc 2024-08-21 00:26:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

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

Comment 132 errata-xmlrpc 2024-08-28 12:21:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 133 errata-xmlrpc 2024-09-03 15:43:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

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

Comment 134 errata-xmlrpc 2024-09-24 00:39:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 135 errata-xmlrpc 2024-09-24 02:35:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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


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