title: net: fujitsu: fix potential null-ptr-deref
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.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 1da177e4c3f4, lessThan: b92170e209f7, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 6dbf1101594f, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: c4f1c23edbe9, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 7883d3895d0f, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 22049c3d40f0, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 71723a796ab7, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: f14bf57a0877, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 52202be1cd99, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 4.4.271, lessThanOrEqual: 4.4.*, status: unaffected, versionType: custom
version: 4.9.271, lessThanOrEqual: 4.9.*, status: unaffected, versionType: custom
version: 4.14.235, lessThanOrEqual: 4.14.*, status: unaffected, versionType: custom
version: 4.19.193, lessThanOrEqual: 4.19.*, status: unaffected, versionType: custom
version: 5.4.124, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.42, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.12.9, lessThanOrEqual: 5.12.*, status: unaffected, versionType: custom
version: 5.13, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
