← CVE Intelligence

CVE-2023-52790

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 79636caad3618e2b38457f6e298c9b31ba82b489 before ce7612496a4ba6068bc68aa1fa9d947dadb4ad9b; affected 79636caad3618e2b38457f6e298c9b31ba82b489 before 53c87e846e335e3c18044c397cc35178163d7827
Linux / Linuxaffected 6.6; unaffected 0 before 6.6; unaffected 6.6.3 through 6.6.*; unaffected 6.7 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.