PT-2024-36941 · Linux+6 · Linux Kernel+6

Published

2024-10-16

·

Updated

2026-05-19

·

CVE-2024-56633

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.6.74
Description The issue is related to the sk memory accounting logic in the Linux kernel, specifically in the tcp bpf sendmsg function. The current logic pre-uncharges tosend bytes, which can lead to potential problems, such as missing uncharging of bytes when tosend is set to apply bytes and an error occurs. This can cause a warning to be reported when running the selftest test txmsg redir wait sndmem with txmsg apply. The issue is resolved by delaying the uncharging after sent bytes are finalized and invoking sk msg free when an error occurs.
Recommendations To resolve the issue, update to Linux kernel version 6.6.74 or later. For versions prior to 6.6.74, consider applying the fix to the tcp bpf sendmsg function to delay the uncharging after sent bytes are finalized and invoke sk msg free when an error occurs.

Exploit

Fix

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2026:18134
BDU:2025-06100
CVE-2024-56633
DLA-4075-1
DLA-4076-1
MGASA-2025-0030
MGASA-2025-0032
OESA-2025-1065
OESA-2025-1066
OESA-2025-1078
OESA-2025-1079
OPENSUSE-SU-2025_0847-1
OPENSUSE-SU-2025_0856-1
OPENSUSE-SU-2025_0955-1
RHSA-2026:18134
SUSE-SU-2025:01983-1
SUSE-SU-2025:0564-1
SUSE-SU-2025:0834-1
SUSE-SU-2025:0847-1
SUSE-SU-2025:0856-1
SUSE-SU-2025:0955-1
SUSE-SU-2025:1293-1
SUSE-SU-2025:20190-1
SUSE-SU-2025:20192-1
SUSE-SU-2025:20260-1
SUSE-SU-2025:20270-1
SUSE-SU-2025:4189-1
SUSE-SU-2025_01983-1
SUSE-SU-2025_0834-1
SUSE-SU-2025_0847-1
SUSE-SU-2025_0856-1
SUSE-SU-2025_0955-1
SUSE-SU-2025_1293-1
USN-7379-1
USN-7379-2
USN-7380-1
USN-7381-1
USN-7382-1
USN-7387-1
USN-7387-2
USN-7387-3
USN-7388-1
USN-7389-1
USN-7390-1
USN-7391-1
USN-7392-1
USN-7392-2
USN-7392-3
USN-7392-4
USN-7393-1
USN-7401-1
USN-7407-1
USN-7413-1
USN-7421-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7458-1
USN-7459-1
USN-7459-2
USN-7463-1
USN-7468-1
USN-7523-1
USN-7524-1
USN-7539-1
USN-7540-1

Affected Products

Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu