CVE-2024-50168

net/sun3_82586: fix potential memory leak in sun3_82586_send_packet()

State
Published
Severity
5.5 Medium
Published
Nov 7, 2024
Updated
May 11, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

net/sun3_82586: fix potential memory leak in sun3_82586_send_packet()

The sun3_82586_send_packet() returns NETDEV_TX_OK without freeing skb in case of skb->len being too long, add dev_kfree_skb() to fix it.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 137010d26dc5cd47cd62fef77cbe952d31951b7aAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 8d5b20fbc548650019afa96822b6a33ea4ec8aa5Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before db755e55349045375c5c7036e8650afb3ff419d8Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 9c6ce55e6f0bd1541f112833006b4052614c7d94Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1a17a4ac2d57102497fac53b53c666dba6a0c20dAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6dc937a3086e344f965ca5c459f8f3eb6b68d890Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 84f2bac74000dbb7a177d9b98a17031ec8d07ec5Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2cb3f56e827abb22c4168ad0c1bbbf401bb2f3b8Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 4.19.323 through 4.19.*Not affected
  • 5.4.285 through 5.4.*Not affected
  • 5.10.229 through 5.10.*Not affected
  • 5.15.170 through 5.15.*Not affected
  • 6.1.115 through 6.1.*Not affected
  • 6.6.59 through 6.6.*Not affected
  • 6.11.6 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.