Bug 1225107 (CVE-2023-52790) - VUL-0: CVE-2023-52790: kernel: swiotlb: out-of-bounds TLB allocations with CONFIG_SWIOTLB_DYNAMIC
Summary: VUL-0: CVE-2023-52790: kernel: swiotlb: out-of-bounds TLB allocations with CO...
Status: RESOLVED INVALID
Alias: CVE-2023-52790
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Kernel Bugs
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/407196/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-23 10:01 UTC by SMASH SMASH
Modified: 2024-05-23 10:01 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-05-23 10:01:11 UTC
In the Linux kernel, the following vulnerability has been resolved:

swiotlb: fix out-of-bounds TLB allocations with CONFIG_SWIOTLB_DYNAMIC

Limit the free list length to the size of the IO TLB. Transient pool can be
smaller than IO_TLB_SEGSIZE, but the free list is initialized with the
assumption that the total number of slots is a multiple of IO_TLB_SEGSIZE.
As a result, swiotlb_area_find_slots() may allocate slots past the end of
a transient IO TLB buffer.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52790
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2023/CVE-2023-52790.mbox
https://git.kernel.org/stable/c/ce7612496a4ba6068bc68aa1fa9d947dadb4ad9b
https://git.kernel.org/stable/c/53c87e846e335e3c18044c397cc35178163d7827
https://www.cve.org/CVERecord?id=CVE-2023-52790
Comment 1 Thomas Leroy 2024-05-23 10:01:41 UTC
CONFIG_SWIOTLB_DYNAMIC is never set. Closing