CVE-2021-47499
iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove
Mitigation
- Upgrade Linux to 70c9774e180d151abaab358108e3510a8e615215 or later.
Who should check
- Anyone running Linux >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 8c1d43f3a3fc7184c42d7398bdf59a2a2903e4fc; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 60a55b9d91ba99eb8cf015bc46dc2de05e168a15; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 3899700ddacbf7aaafadf44464fff3ff0d4e3307; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < a3730f74159ad00a28960c0efe2a931fe6fe6b45; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 8c163a14277115ca962103910ab4cce55e862ffb; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < ee86d0bad80bdcd11a87e188a596727f41b62320; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 14508fe13b1c578b3d2ba574f1d48b351975860c; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 70c9774e180d151abaab358108e3510a8e615215
- Anyone running Linux 4.2
Vulnerability facts
- Affected
- Linux >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 8c1d43f3a3fc7184c42d7398bdf59a2a2903e4fc; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 60a55b9d91ba99eb8cf015bc46dc2de05e168a15; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 3899700ddacbf7aaafadf44464fff3ff0d4e3307; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < a3730f74159ad00a28960c0efe2a931fe6fe6b45; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 8c163a14277115ca962103910ab4cce55e862ffb; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < ee86d0bad80bdcd11a87e188a596727f41b62320; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 14508fe13b1c578b3d2ba574f1d48b351975860c; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 70c9774e180d151abaab358108e3510a8e615215; Linux 4.2
- Fixed in
- Linux 8c1d43f3a3fc7184c42d7398bdf59a2a2903e4fc, Linux 60a55b9d91ba99eb8cf015bc46dc2de05e168a15, Linux 3899700ddacbf7aaafadf44464fff3ff0d4e3307, Linux 8c163a14277115ca962103910ab4cce55e862ffb, Linux 14508fe13b1c578b3d2ba574f1d48b351975860c, Linux 70c9774e180d151abaab358108e3510a8e615215
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove When ACPI type is ACPI_SMO8500, the data->dready_trig will not be set, the memory allocated by iio_triggered_buffer_setup() will not be freed, and cause memory leak as follows: unreferenced object 0xffff888009551400 (size 512): comm "i2c-SMO8500-125", pid 911, jiffies 4294911787 (age 83.852s) hex dump (first 32 bytes): 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 20 e2 e5 c0 ff ff ff ff ........ ....... backtrace: [<0000000041ce75ee>] kmem_cache_alloc_trace+0x16d/0x360 [<000000000aeb17b0>] iio_kfifo_allocate+0x41/0x130 [kfifo_buf] [<000000004b40c1f5>] iio_triggered_buffer_setup_ext+0x2c/0x210 [industrialio_triggered_buffer] [<000000004375b15f>] kxcjk1013_probe+0x10c3/0x1d81 [kxcjk_1013] Fix it by remove data->dready_trig condition in probe and remove.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 8c1d43f3a3fc7184c42d7398bdf59a2a2903e4fc; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 60a55b9d91ba99eb8cf015bc46dc2de05e168a15; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 3899700ddacbf7aaafadf44464fff3ff0d4e3307; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < a3730f74159ad00a28960c0efe2a931fe6fe6b45; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 8c163a14277115ca962103910ab4cce55e862ffb; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < ee86d0bad80bdcd11a87e188a596727f41b62320; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 14508fe13b1c578b3d2ba574f1d48b351975860c; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 70c9774e180d151abaab358108e3510a8e615215 | — | cvelist |
| Linux | 4.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-47499. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-47499.md Affected: Linux >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 8c1d43f3a3fc7184c42d7398bdf59a2a2903e4fc; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 60a55b9d91ba99eb8cf015bc46dc2de05e168a15; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 3899700ddacbf7aaafadf44464fff3ff0d4e3307; >= a25691c1f9674090fb66586… Fixed in: Linux 8c1d43f3a3fc7184c42d7398bdf59a2a2903e4fc, Linux 60a55b9d91ba99eb8cf015bc46dc2de05e168a15, Linux 3899700ddacbf7aaafadf44464fff3ff0d4e3307, Linux 8c163a14277115ca962103910ab4cce55e862ffb, Linux 14508fe13b1c578b3d2ba574f1d48b351975860c, Linux 70c9774e180d151abaab358108e3510a8e615215 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/8c1d43f3a3fc7184c42d7398bdf59a2a2903e4fc
- https://git.kernel.org/stable/c/60a55b9d91ba99eb8cf015bc46dc2de05e168a15
- https://git.kernel.org/stable/c/3899700ddacbf7aaafadf44464fff3ff0d4e3307
- https://git.kernel.org/stable/c/a3730f74159ad00a28960c0efe2a931fe6fe6b45
- https://git.kernel.org/stable/c/8c163a14277115ca962103910ab4cce55e862ffb
- https://git.kernel.org/stable/c/ee86d0bad80bdcd11a87e188a596727f41b62320
- https://git.kernel.org/stable/c/14508fe13b1c578b3d2ba574f1d48b351975860c
- https://git.kernel.org/stable/c/70c9774e180d151abaab358108e3510a8e615215
FAQ
Is CVE-2021-47499 being exploited?
There is no confirmed exploitation: CVE-2021-47499 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-47499?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-47499?
Linux >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 8c1d43f3a3fc7184c42d7398bdf59a2a2903e4fc; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 60a55b9d91ba99eb8cf015bc46dc2de05e168a15; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 3899700ddacbf7aaafadf44464fff3ff0d4e3307; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < a3730f74159ad00a28960c0efe2a931fe6fe6b45; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 8c163a14277115ca962103910ab4cce55e862ffb; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < ee86d0bad80bdcd11a87e188a596727f41b62320; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 14508fe13b1c578b3d2ba574f1d48b351975860c; >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 70c9774e180d151abaab358108e3510a8e615215; Linux 4.2.
Is there a fix for CVE-2021-47499?
Yes. Fixed in Linux 8c1d43f3a3fc7184c42d7398bdf59a2a2903e4fc, Linux 60a55b9d91ba99eb8cf015bc46dc2de05e168a15, Linux 3899700ddacbf7aaafadf44464fff3ff0d4e3307, Linux 8c163a14277115ca962103910ab4cce55e862ffb, Linux 14508fe13b1c578b3d2ba574f1d48b351975860c, Linux 70c9774e180d151abaab358108e3510a8e615215. Upgrade Linux to 70c9774e180d151abaab358108e3510a8e615215 or later.
How do I check if I'm affected by CVE-2021-47499?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.