Medium severity · published Jul 10, 2024
CVE-2024-39489
ipv6: sr: fix memleak in seg6_hmac_init_algo
5.5
CVSS
0.2%
EPSS
No
On KEV
Description
In the Linux kernel, the following vulnerability has been resolved:
ipv6: sr: fix memleak in seg6_hmac_init_algo
seg6_hmac_init_algo returns without cleaning up the previous allocations
if one fails, so it's going to leak all that memory and the crypto tfms.
Update seg6_hmac_exit to only free the memory when allocated, so we can
reuse the code directly.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 15% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
4.10 before 4.19.316; 4.20 before 5.4.278; 5.5 before 5.10.219; 5.11 before 5.15.161; 5.16 before 6.1.93; 6.2 before 6.6.33; +1 more · source: NVD
LI
Linux · Linux
bf355b8d2c30a289232042cacc1cfaea4923936c before afd5730969aec960a2fee4e5ee839a6014643976; bf355b8d2c30a289232042cacc1cfaea4923936c before 4a3fcf53725b70010d1cf869a2ba549fed6b8fb3; bf355b8d2c30a289232042cacc1cfaea4923936c before daf341e0a2318b813427d5a78788c86f4a7f02be; bf355b8d2c30a289232042cacc1cfaea4923936c before 61d31ac85b4572d11f8071855c0ccb4f32d76c0c; bf355b8d2c30a289232042cacc1cfaea4923936c before 599a5654215092ac22bfc453f4fd3959c55ea821; bf355b8d2c30a289232042cacc1cfaea4923936c before 0e44d6cbe8de983470c3d2f978649783384fdcb6; +3 more · source: vendor
RR
RUGGEDCOM RST2428P · Siemens
before V3.1 · source: CISA
SX
SCALANCE XCM-/XRM-/XCH-/XRH-300 family · Siemens
before V3.1 · source: CISA
SS
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5; V3.1.0 before V3.1.5 · source: CISA
SS
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5; V3.1.0 before V3.1.5 · source: CISA
SS
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem · Siemens
before V1.1.1 · source: CISA
SS
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-39489
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-39489
Patch
https://git.kernel.org/stable/c/0e44d6cbe8de983470c3d2f978649783384fdcb6
Patch
https://git.kernel.org/stable/c/4a3fcf53725b70010d1cf869a2ba549fed6b8fb3
Patch
https://git.kernel.org/stable/c/599a5654215092ac22bfc453f4fd3959c55ea821
Patch
https://git.kernel.org/stable/c/61d31ac85b4572d11f8071855c0ccb4f32d76c0c
Patch
https://git.kernel.org/stable/c/afd5730969aec960a2fee4e5ee839a6014643976
Patch
https://git.kernel.org/stable/c/daf341e0a2318b813427d5a78788c86f4a7f02be
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
