CVE-2022-48958

ethernet: aeroflex: fix potential skb leak in greth_init_rings()

State
Published
Severity
Not scored
Published
Oct 21, 2024
Updated
May 11, 2026
Reserved
Aug 22, 2024

Read the record on cve.org

Description

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

ethernet: aeroflex: fix potential skb leak in greth_init_rings()

The greth_init_rings() function won't free the newly allocated skb when dma_mapping_error() returns error, so add dev_kfree_skb() to fix it.

Compile tested only.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d4c41139df6e74c6fff0cbac43e51cab782133be to before 223654e2e2c8d05347cd8e300f8d1ec6023103ddAffected
  • d4c41139df6e74c6fff0cbac43e51cab782133be to before cb1e293f858e5e1152b8791047ed4bdaaf392189Affected
  • d4c41139df6e74c6fff0cbac43e51cab782133be to before bfaa8f6c5b84b295dd73b0138b57c5555ca12b1cAffected
  • d4c41139df6e74c6fff0cbac43e51cab782133be to before 99669d94ce145389f1d6f197e6e18ed50d43fb76Affected
  • d4c41139df6e74c6fff0cbac43e51cab782133be to before 87277bdf2c370ab2d07cfe77dfa9b37f82bbe1e5Affected
  • d4c41139df6e74c6fff0cbac43e51cab782133be to before c7adcbd0fd3fde1b19150c3e955fb4a30c5bd9b7Affected
  • d4c41139df6e74c6fff0cbac43e51cab782133be to before dd62867a6383f78f75f07039394aac25924a3307Affected
  • d4c41139df6e74c6fff0cbac43e51cab782133be to before 063a932b64db3317ec020c94466fe52923a15f60Affected
LinuxLinux
  • 2.6.34Affected
  • before 2.6.34Not affected
  • 4.9.336 through 4.9.*Not affected
  • 4.14.302 through 4.14.*Not affected
  • 4.19.269 through 4.19.*Not affected
  • 5.4.227 through 5.4.*Not affected
  • 5.10.159 through 5.10.*Not affected
  • 5.15.83 through 5.15.*Not affected
  • 6.0.13 through 6.0.*Not affected
  • 6.1 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.