CVE-2023-54062 - CVE House
Back to Database
Status published Unknown CVE-2023-54062

ext4: fix invalid free tracking in ext4_xattr_move_to_block()

Vulnerability Description

In the Linux kernel, the following vulnerability has been resolved: ext4: fix invalid free tracking in ext4_xattr_move_to_block() In ext4_xattr_move_to_block(), the value of the extended attribute which we need to move to an external block may be allocated by kvmalloc() if the value is stored in an external inode. So at the end of the function the code tried to check if this was the case by testing entry->e_value_inum. However, at this point, the pointer to the xattr entry is no longer valid, because it was removed from the original location where it had been stored. So we could end up calling kvfree() on a pointer which was not allocated by kvmalloc(); or we could also potentially leak memory by not freeing the buffer when it should be freed. Fix this by storing whether it should be freed in a separate variable.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2023-54062

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
c7851208abffe5ae4deb01cf48763911dc14fc67, f5cdc6a7339f250d44d4d469ed7a474ac0d6c7a7, 3b28c799a1334adb5a19f42f03abe0d8cbb05938, d738789ae9ec47d3458a008788f3cdc862ebf0cb, a6744e14ce7045ab1a728bde9595f62fbd39f1d2, 8b6d06b3be7648b3b0f428558293ddf6e2cb94bf, d2efaf8c870c7067b8d1779773134f3481cd8f68, 1e9d62d252812575ded7c620d8fc67c32ff06c16, 4.14.308, 4.19.276, 5.4.235, 5.10.173, 5.15.99, 6.1.16, 6.2.3, 6.3, 0, 4.14.315, 4.19.283, 5.4.243, 5.10.180, 5.15.112, 6.1.29, 6.2.16, 6.3.3, 6.4

Timeline

Official Publish: December 24th, 2025
Last Modified: May 23rd, 2026
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.