Bug 2266347 (CVE-2023-52471) - CVE-2023-52471 kernel: null pointer dereference issues in ice_ptp.c
Summary: CVE-2023-52471 kernel: null pointer dereference issues in ice_ptp.c
Keywords:
Status: NEW
Alias: CVE-2023-52471
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: 2266348
Blocks: 2266208
TreeView+ depends on / blocked
 
Reported: 2024-02-27 16:52 UTC by Rohit Keshri
Modified: 2024-08-26 14:38 UTC (History)
51 users (show)

Fixed In Version:
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:5117 0 None None None 2024-08-08 08:34:50 UTC
Red Hat Product Errata RHBA-2024:5207 0 None None None 2024-08-12 07:52:22 UTC
Red Hat Product Errata RHBA-2024:5208 0 None None None 2024-08-12 08:32:49 UTC
Red Hat Product Errata RHBA-2024:5233 0 None None None 2024-08-12 13:50:47 UTC
Red Hat Product Errata RHBA-2024:5235 0 None None None 2024-08-12 14:23:09 UTC
Red Hat Product Errata RHBA-2024:5236 0 None None None 2024-08-12 14:39:13 UTC
Red Hat Product Errata RHBA-2024:5237 0 None None None 2024-08-12 14:44:08 UTC
Red Hat Product Errata RHBA-2024:5386 0 None None None 2024-08-14 10:47:05 UTC
Red Hat Product Errata RHBA-2024:5866 0 None None None 2024-08-26 14:38:39 UTC
Red Hat Product Errata RHSA-2024:5101 0 None None None 2024-08-08 04:52:12 UTC
Red Hat Product Errata RHSA-2024:5102 0 None None None 2024-08-08 04:40:27 UTC

Description Rohit Keshri 2024-02-27 16:52:33 UTC
In the Linux kernel, the following vulnerability has been resolved:

ice: Fix some null pointer dereference issues in ice_ptp.c

devm_kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure.

https://git.kernel.org/stable/c/3027e7b15b02d2d37e3f82d6b8404f6d37e3b8cf
https://git.kernel.org/stable/c/3cd9b9bee33f39f6c6d52360fe381b89a7b12695

Comment 1 Rohit Keshri 2024-02-27 16:57:50 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2266348]

Comment 3 Justin M. Forbes 2024-02-27 18:40:46 UTC
This was introduced in 6.7 and fixed in 6.7.2/6.8-rc1. It never hit stable Fedora releases.

Comment 5 Michal Schmidt 2024-03-19 14:04:55 UTC
Small GFP_KERNEL allocations never fail. It is the de-facto rule of the Linux kernel known as "too small to fail".
See:
https://lwn.net/Articles/964793/
  quote: "The kernel, for all practical purposes, already implements GFP_NOFAIL behavior for allocations of eight pages or less."
And older articles about the same topic:
https://lwn.net/Articles/723317/
https://lwn.net/Articles/627419/

Therefore, I don't think we should treat these missing checks as CVEs.

Comment 7 errata-xmlrpc 2024-08-08 04:40:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 8 errata-xmlrpc 2024-08-08 04:52:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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


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