Bug 1220427 (CVE-2023-52472) - VUL-0: CVE-2023-52472: kernel: crypto: rsa - add a check for allocation failure due to mpi_alloc()
Summary: VUL-0: CVE-2023-52472: kernel: crypto: rsa - add a check for allocation failu...
Status: RESOLVED FIXED
Alias: CVE-2023-52472
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Minor
Target Milestone: ---
Assignee: Kernel Bugs
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/395136/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-52472:3.3:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-27 11:05 UTC by SMASH SMASH
Modified: 2024-03-04 16:15 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-02-27 11:05:05 UTC
In the Linux kernel, the following vulnerability has been resolved:

crypto: rsa - add a check for allocation failure

Static checkers insist that the mpi_alloc() allocation can fail so add
a check to prevent a NULL dereference.  Small allocations like this
can't actually fail in current kernels, but adding a check is very
simple and makes the static checkers happy.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52472
https://www.cve.org/CVERecord?id=CVE-2023-52472
https://lore.kernel.org/linux-cve-announce/2024022547-CVE-2023-52472-fa03@gregkh/T/#u

Patch:
https://git.kernel.org/stable/c/d872ca165cb67112f2841ef9c37d51ef7e63d1e4
Comment 1 Andrea Mattiazzo 2024-02-27 11:05:36 UTC
Closing since all code stream are not affected or already patched.