PT-2024-35624

CVE-2024-53178

·

Published

2024-11-18

·

Updated

2026-10-18

Description by

CVSS 3.1
8.0
High
MetricsAV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a memory leak in the Linux kernel's SMB functionality. Specifically, when the open cached dir() function races with the tcon reconnection, it can lead to a memory leak. The reconnection process invokes invalidate all cached dirs(), which removes all cfids from the cfids->entries list but doesn't drop a ref if has lease isn't true. This results in the currently-being-constructed cfid not being on the list but still having a refcount of 2, causing a leak if returned from open cached dir(). The fix involves setting cfid->has lease when the ref is actually taken, ensuring the cfid is not used by other threads until it has a valid time. This addresses kmemleaks and BUG splats when unmounting the SMB filesystem.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Related identifiers
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2025-12647
ECHO-8CB8-E665-3685
OESA-2025-1286
OESA-2025-1450
OPENSUSE-SU-2025_0847-1
OPENSUSE-SU-2025_0856-1
OPENSUSE-SU-2025_0955-1
SUSE-SU-2025:01919-1
SUSE-SU-2025:0847-1
SUSE-SU-2025_0847-1
SUSE-SU-2025:0856-1
SUSE-SU-2025_0856-1
SUSE-SU-2025:0955-1
SUSE-SU-2025_0955-1
SUSE-SU-2025:1176-1
SUSE-SU-2025:1241-1
SUSE-SU-2025_1241-1
SUSE-SU-2025:20190-1
SUSE-SU-2025:20192-1
SUSE-SU-2025:20260-1
SUSE-SU-2025:20270-1
USN-7276-1
USN-7277-1
USN-7310-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7468-1
USN-7523-1
USN-7524-1
Found an issue in the description? Have something to add? Feel free to write us 👾