← CVE Intelligence

CVE-2024-39489

ipv6: sr: fix memleak in seg6_hmac_init_algo PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected bf355b8d2c30a289232042cacc1cfaea4923936c before afd5730969aec960a2fee4e5ee839a6014643976; affected bf355b8d2c30a289232042cacc1cfaea4923936c before 4a3fcf53725b70010d1cf869a2ba549fed6b8fb3; affected bf355b8d2c30a289232042cacc1cfaea4923936c before daf341e0a2318b813427d5a78788c86f4a7f02be; affected bf355b8d2c30a289232042cacc1cfaea4923936c before 61d31ac85b4572d11f8071855c0ccb4f32d76c0c; affected bf355b8d2c30a289232042cacc1cfaea4923936c before 599a5654215092ac22bfc453f4fd3959c55ea821; affected bf355b8d2c30a289232042cacc1cfaea4923936c before 0e44d6cbe8de983470c3d2f978649783384fdcb6; affected bf355b8d2c30a289232042cacc1cfaea4923936c before f6a99ef4e056c20a138a95cc51332b2b96c8f383; affected bf355b8d2c30a289232042cacc1cfaea4923936c before efb9f4f19f8e37fde43dfecebc80292d179f56c6
Linux / Linuxaffected 4.10; unaffected 0 before 4.10; unaffected 4.19.316 through 4.19.*; unaffected 5.4.278 through 5.4.*; unaffected 5.10.219 through 5.10.*; unaffected 5.15.161 through 5.15.*; unaffected 6.1.93 through 6.1.*; unaffected 6.6.33 through 6.6.*; unaffected 6.9.4 through 6.9.*; unaffected 6.10 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.

siemens-SADP

No English description supplied.