Bug 2051444 (CVE-2022-24448) - CVE-2022-24448 kernel: nfs_atomic_open() returns uninitialized data instead of ENOTDIR
Summary: CVE-2022-24448 kernel: nfs_atomic_open() returns uninitialized data instead o...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-24448
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2051445 2059727 2059728 2059729 2059730
Blocks: 2051447
TreeView+ depends on / blocked
 
Reported: 2022-02-07 09:22 UTC by Marian Rehak
Modified: 2025-06-02 15:26 UTC (History)
46 users (show)

Fixed In Version: kernel 5.16.5
Clone Of:
Environment:
Last Closed: 2022-12-05 10:23:25 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:7444 0 None None None 2022-11-08 09:09:32 UTC
Red Hat Product Errata RHSA-2022:7683 0 None None None 2022-11-08 10:08:40 UTC
Red Hat Product Errata RHSA-2022:7933 0 None None None 2022-11-15 09:44:25 UTC
Red Hat Product Errata RHSA-2022:8267 0 None None None 2022-11-15 10:47:01 UTC
Red Hat Product Errata RHSA-2024:0724 0 None None None 2024-02-07 16:28:25 UTC

Description Marian Rehak 2022-02-07 09:22:58 UTC
If an application sets the O_DIRECTORY flag, and tries to open a regular file, nfs_atomic_open() performs a regular lookup. If a regular file is found, ENOTDIR should occur, but the server instead returns uninitialized data in the file descriptor.

References:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ac795161c93699d600db16c1a8cc23a65a1eceaf
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.5

Comment 1 Marian Rehak 2022-02-07 09:23:31 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2051445]

Comment 2 juneau 2022-02-07 15:46:32 UTC
Marking OSD 3.x affected/ooss.
Marking OSD 4.x | quay-io-3 affected/delgated for low severity kernel issue.

Comment 4 Justin M. Forbes 2022-02-10 21:59:54 UTC
This was fixed for Fedora with the 5.16.5 stable kernel updates.

Comment 13 errata-xmlrpc 2022-11-08 09:09:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7444 https://access.redhat.com/errata/RHSA-2022:7444

Comment 14 errata-xmlrpc 2022-11-08 10:08:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7683 https://access.redhat.com/errata/RHSA-2022:7683

Comment 15 errata-xmlrpc 2022-11-15 09:44:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:7933 https://access.redhat.com/errata/RHSA-2022:7933

Comment 16 errata-xmlrpc 2022-11-15 10:46:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:8267 https://access.redhat.com/errata/RHSA-2022:8267

Comment 17 Product Security DevOps Team 2022-12-05 10:23:22 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-24448

Comment 20 errata-xmlrpc 2024-02-07 16:28:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

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


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