CVE-2021-47149

net: fujitsu: fix potential null-ptr-deref

State
Published
Severity
Not scored
Published
Mar 25, 2024
Updated
May 11, 2026
Reserved
Mar 4, 2024

Read the record on cve.org

Description

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

net: fujitsu: fix potential null-ptr-deref

In fmvj18x_get_hwinfo(), if ioremap fails there will be NULL pointer deref. To fix this, check the return value of ioremap and return -1 to the caller in case of failure.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b92170e209f7746ed72eaac98f2c2f4b9af734e6Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6dbf1101594f7c76990b63c35b5a40205a914b6bAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c4f1c23edbe921ab2ecd6140d700e756cd44c5f7Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 7883d3895d0fbb0ba9bff0f8665f99974b45210fAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 22049c3d40f08facd1867548716a484dad6b3251Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 71723a796ab7881f491d663c6cd94b29be5fba50Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f14bf57a08779a5dee9936f63ada0149ea89c5e6Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 52202be1cd996cde6e8969a128dc27ee45a7cb5eAffected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 4.4.271 through 4.4.*Not affected
  • 4.9.271 through 4.9.*Not affected
  • 4.14.235 through 4.14.*Not affected
  • 4.19.193 through 4.19.*Not affected
  • 5.4.124 through 5.4.*Not affected
  • 5.10.42 through 5.10.*Not affected
  • 5.12.9 through 5.12.*Not affected
  • 5.13 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.