# CVE-2021-47600: dm btree remove: fix use after free in rebalance_children()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 17% of CVEs (2026-11-30)
- Published: 2024-06-19T14:54:00.981Z
- Modified: 2026-08-05T08:48:32.894Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

dm btree remove: fix use after free in rebalance_children()

Move dm_tm_unlock() after dm_tm_dec().

(As written by CVE List.)

## Affected

- Linux Linux: from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 before a48f6a2bf33734ec5669ee03067dfb6c5b4818d6; from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 before 66ea642af6fd4eacb5d0271a922130fcf8700424; from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 before b03abd0aa09c05099f537cb05b8460c4298f0861; from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 before 293f957be5e39720778fb1851ced7f5fba6d51c3; from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 before 501ecd90efdc9b2edc6c28852ecd098a4adf8f00; from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 before 0e21e6cd5eebfc929ac5fa3b97ca2d4ace3cb6a3; from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 before 607beb420b3fe23b948a9bf447d993521a02fbbb; from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 before 1b8d2789dad0005fd5e7d35dab26a8e1203fb6da; 3.2 (not affected: before 3.2; from 4.4.296 up to 4.4.*; from 4.9.294 up to 4.9.*; from 4.14.259 up to 4.14.*; from 4.19.222 up to 4.19.*; from 5.4.168 up to 5.4.*; from 5.10.88 up to 5.10.*; from 5.15.11 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: before 4.4.296; from 4.5 before 4.9.294; from 4.10 before 4.14.259; from 4.15 before 4.19.222; from 4.20 before 5.4.168; from 5.5 before 5.10.88; from 5.11 before 5.15.11

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/a48f6a2bf33734ec5669ee03067dfb6c5b4818d6> (patch)
- <https://git.kernel.org/stable/c/66ea642af6fd4eacb5d0271a922130fcf8700424> (patch)
- <https://git.kernel.org/stable/c/b03abd0aa09c05099f537cb05b8460c4298f0861> (patch)
- <https://git.kernel.org/stable/c/293f957be5e39720778fb1851ced7f5fba6d51c3> (patch)
- <https://git.kernel.org/stable/c/501ecd90efdc9b2edc6c28852ecd098a4adf8f00> (patch)
- <https://git.kernel.org/stable/c/0e21e6cd5eebfc929ac5fa3b97ca2d4ace3cb6a3> (patch)
- <https://git.kernel.org/stable/c/607beb420b3fe23b948a9bf447d993521a02fbbb> (patch)
- <https://git.kernel.org/stable/c/1b8d2789dad0005fd5e7d35dab26a8e1203fb6da> (patch)

## Sources

- CVE List: [CVE-2021-47600](https://www.cve.org/CVERecord?id=CVE-2021-47600), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2021-47600](https://nvd.nist.gov/vuln/detail/CVE-2021-47600), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2021-47600 · Whole record: https://cve.day/CVE-2021-47600.json · Rebuilt by cve.day 2026-11-25T22:58:08.937Z
