Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-47393

published

hwmon: (mlxreg-fan) Return non-zero value when fan current state is enforced from sysfs

Published
21 May 2024, 15:03:50 UTC
Updated
11 May 2026, 13:53:49 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux65afb4c8e7e4e7e74b28efa1df62da503ca3e7a6 to < 5c6e0bce647d9cb32a17d58ffa669b3421fcc6ca · 65afb4c8e7e4e7e74b28efa1df62da503ca3e7a6 to < a6c42ae1530f94724d3c42cf91fe3d3c5e394f8a · 65afb4c8e7e4e7e74b28efa1df62da503ca3e7a6 to < 76bbb482d33bfcd7e9070ecf594c9ec73e01c930 · 65afb4c8e7e4e7e74b28efa1df62da503ca3e7a6 to < aa85fb7bde558bb2e364e85976b14b259c8b6fe8 · 65afb4c8e7e4e7e74b28efa1df62da503ca3e7a6 to < e6fab7af6ba1bc77c78713a83876f60ca7a4a064 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.19 (affected) · 0 to < 4.19 (unaffected · semver) · 4.19.209 through 4.19.* (unaffected · semver) · 5.4.151 through 5.4.* (unaffected · semver) · 5.10.71 through 5.10.* (unaffected · semver) · 5.14.10 through 5.14.* (unaffected · semver) · 5.15 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
AlmaLinux 8 kernel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 perf Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-477.81.1.el8_8 RHSA-2024:10262
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-477.81.1.el8_8 RHSA-2024:10262
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-477.81.1.el8_8 RHSA-2024:10262
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-477.81.1.el8_8 RHSA-2024:10262
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-477.81.1.el8_8 RHSA-2024:10262
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-477.81.1.el8_8 RHSA-2024:10262
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-477.81.1.el8_8 RHSA-2024:10262
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-477.81.1.el8_8 RHSA-2024:10262
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-477.81.1.el8_8 RHSA-2024:10262
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-477.81.1.el8_8 RHSA-2024:10262
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-477.81.1.el8_8 RHSA-2024:10262
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-477.81.1.el8_8 RHSA-2024:10262

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: hwmon: (mlxreg-fan) Return non-zero value when fan current state is enforced from sysfs Fan speed minimum can be enforced from sysfs. For example, setting current fan speed to 20 is used to enforce fan speed to be at 100% speed, 19 - to be not below 90% speed, etcetera. This feature provides ability to limit fan speed according to some system wise considerations, like absence of some replaceable units or high system ambient temperature. Request for changing fan minimum speed is configuration request and can be set only through 'sysfs' write procedure. In this situation value of argument 'state' is above nominal fan speed maximum. Return non-zero code in this case to avoid thermal_cooling_device_stats_update() call, because in this case statistics update violates thermal statistics table range. The issues is observed in case kernel is configured with option CONFIG_THERMAL_STATISTICS. Here is the trace from KASAN: [ 159.506659] BUG: KASAN: slab-out-of-bounds in thermal_cooling_device_stats_update+0x7d/0xb0 [ 159.516016] Read of size 4 at addr ffff888116163840 by task hw-management.s/7444 [ 159.545625] Call Trace: [ 159.548366] dump_stack+0x92/0xc1 [ 159.552084] ? thermal_cooling_device_stats_update+0x7d/0xb0 [ 159.635869] thermal_zone_device_update+0x345/0x780 [ 159.688711] thermal_zone_device_set_mode+0x7d/0xc0 [ 159.694174] mlxsw_thermal_modules_init+0x48f/0x590 [mlxsw_core] [ 159.700972] ? mlxsw_thermal_set_cur_state+0x5a0/0x5a0 [mlxsw_core] [ 159.731827] mlxsw_thermal_init+0x763/0x880 [mlxsw_core] [ 160.070233] RIP: 0033:0x7fd995909970 [ 160.074239] Code: 73 01 c3 48 8b 0d 28 d5 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 99 2d 2c 00 00 75 10 b8 01 00 00 00 0f 05 <48> 3d 01 f0 ff .. [ 160.095242] RSP: 002b:00007fff54f5d938 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 160.103722] RAX: ffffffffffffffda RBX: 0000000000000013 RCX: 00007fd995909970 [ 160.111710] RDX: 0000000000000013 RSI: 0000000001906008 RDI: 0000000000000001 [ 160.119699] RBP: 0000000001906008 R08: 00007fd995bc9760 R09: 00007fd996210700 [ 160.127687] R10: 0000000000000073 R11: 0000000000000246 R12: 0000000000000013 [ 160.135673] R13: 0000000000000001 R14: 00007fd995bc8600 R15: 0000000000000013 [ 160.143671] [ 160.145338] Allocated by task 2924: [ 160.149242] kasan_save_stack+0x19/0x40 [ 160.153541] __kasan_kmalloc+0x7f/0xa0 [ 160.157743] __kmalloc+0x1a2/0x2b0 [ 160.161552] thermal_cooling_device_setup_sysfs+0xf9/0x1a0 [ 160.167687] __thermal_cooling_device_register+0x1b5/0x500 [ 160.173833] devm_thermal_of_cooling_device_register+0x60/0xa0 [ 160.180356] mlxreg_fan_probe+0x474/0x5e0 [mlxreg_fan] [ 160.248140] [ 160.249807] The buggy address belongs to the object at ffff888116163400 [ 160.249807] which belongs to the cache kmalloc-1k of size 1024 [ 160.263814] The buggy address is located 64 bytes to the right of [ 160.263814] 1024-byte region [ffff888116163400, ffff888116163800) [ 160.277536] The buggy address belongs to the page: [ 160.282898] page:0000000012275840 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888116167000 pfn:0x116160 [ 160.294872] head:0000000012275840 order:3 compound_mapcount:0 compound_pincount:0 [ 160.303251] flags: 0x200000000010200(slab|head|node=0|zone=2) [ 160.309694] raw: 0200000000010200 ffffea00046f7208 ffffea0004928208 ffff88810004dbc0 [ 160.318367] raw: ffff888116167000 00000000000a0006 00000001ffffffff 0000000000000000 [ 160.327033] page dumped because: kasan: bad access detected [ 160.333270] [ 160.334937] Memory state around the buggy address: [ 160.356469] >ffff888116163800: fc ..

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

31

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 65afb4c8e7e4e7e74b28efa1df62da503ca3e7a6 to < 5c6e0bce647d9cb32a17d58ffa669b3421fcc6ca (affected · git)65afb4c8e7e4e7e74b28efa1df62da503ca3e7a6 to < a6c42ae1530f94724d3c42cf91fe3d3c5e394f8a (affected · git)65afb4c8e7e4e7e74b28efa1df62da503ca3e7a6 to < 76bbb482d33bfcd7e9070ecf594c9ec73e01c930 (affected · git)65afb4c8e7e4e7e74b28efa1df62da503ca3e7a6 to < aa85fb7bde558bb2e364e85976b14b259c8b6fe8 (affected · git)65afb4c8e7e4e7e74b28efa1df62da503ca3e7a6 to < e6fab7af6ba1bc77c78713a83876f60ca7a4a064 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.19 (affected)0 to < 4.19 (unaffected · semver)4.19.209 through 4.19.* (unaffected · semver)5.4.151 through 5.4.* (unaffected · semver)5.10.71 through 5.10.* (unaffected · semver)5.14.10 through 5.14.* (unaffected · semver)5.15 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

hwmon: (mlxreg-fan) Return non-zero value when fan current state is enforced from sysfs

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
a6bdc6736d69068e371b4d1fccf199ff3755ac4fd907d2311287306bd0e39f48
Ingested
23 Sep 2026, 07:57:11 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected