Description
blktrace (aka Block IO Tracing) 1.2.0, as used with the Linux kernel and Android, has a buffer overflow in the dev_map_read function in btt/devmap.c because the device and devno arrays are too small, as demonstrated by an invalid free when using the btt program with a crafted file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | blktrace | 1.2.0-1 | — |
| Debian 13 | blktrace | 1.2.0-1 | — |
| Debian 12 | blktrace | 1.2.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | blktrace | 1.1.0-2+deb9u1build0.18.04.1 | — |
| Ubuntu 16.04 LTS | blktrace | 1.1.0-2+deb9u1build0.16.04.1 | — |
| Ubuntu 14.04 LTS | blktrace | 1.0.5-1+deb8u1build0.14.04.1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | blktrace | 1.0.5-9.el7 | RHSA-2019:2162 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | blktrace | 1.1.0+git.20170126-3.3.28 | SUSE-SU-2019:0919-1 |
| SLES 12 SP5 | blktrace | 1.0.5-8.5.74 | SUSE-SU-2020:2942-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | blktrace | 1.0.5-8.5.74 | SUSE-SU-2020:2942-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.0 | blktrace | 1.1.0+git.20170126-lp150.2.3.1 | openSUSE-SU-2019:1224-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | blktrace | 1.0.5-9.amzn2 | ALAS2-2019-1320 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | blktrace | 1.2.0-6 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | blktrace | 1.0.5-9.el7 | ELSA-2019-2162 |
Advisories 7
- WID-SEC-2022-0517 Red Hat Enterprise Linux: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2019:2162 Red Hat Security Advisory: blktrace security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- openSUSE-SU-2019:1224-1 Security update for blktrace SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0919-1 Security update for blktrace SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2942-1 Security update for blktrace SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2019-1320 Low: blktrace security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 23, 2019
- ELSA-2019-2162 Low: blktrace security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 13, 2019
References
- https://www.spinics.net/lists/linux-btrace/msg00847.html
- 104142 vdb-entry
- http://git.kernel.dk/?p=blktrace.git%3Ba=log%3Bh=d61ff409cb4dda31386373d706ea0cfb1aaac5b7
- https://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git/commit/?id=d61ff409cb4dda31386373d706ea0cfb1aaac5b7
- RHSA-2019:2162 vendor-advisory
- GLSA-202107-15 vendor-advisory