Description
The Linux kernel through 5.3.13 has a start_offset+size Integer Overflow in cpia2_remap_buffer in drivers/media/usb/cpia2/cpia2_core.c because cpia2 has its own mmap implementation. This allows local users (with /dev/video0 access) to obtain read and write permissions on kernel physical pages, which can possibly result in a privilege escalation.
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 | linux | 4.16.16-1 | — |
| Debian 13 | linux | 4.16.16-1 | — |
| Debian 12 | linux | 4.16.16-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-gcp-6.11 +4 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +3 | No fix yet | — |
| Ubuntu 18.04 LTS | linux | 4.15.0-36.39 | — |
| Ubuntu 18.04 LTS | linux-aws +1 | 4.15.0-1023.23 | — |
| Ubuntu 18.04 LTS | linux-gcp +5 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-oem | 4.15.0-1021.24 | — |
| Ubuntu 18.04 LTS | linux-raspi2 | 4.15.0-1024.26 | — |
| Ubuntu 18.04 LTS | linux-snapdragon | 4.15.0-1053.57 | — |
| Ubuntu 16.04 LTS | linux | 4.4.0-134.160 | — |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1066.76 | — |
| Ubuntu 16.04 LTS | linux-azure | 4.15.0-1025.26~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-gcp | 4.15.0-1021.22~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-hwe | 4.15.0-36.39~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu 16.04 LTS | linux-kvm | 4.4.0-1032.38 | — |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1095.103 | — |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1099.104 | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | linux-aws | 4.4.0-1028.31 | — |
| Ubuntu 14.04 LTS | linux-azure | 4.15.0-1031.32~14.04.1 | — |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-134.160~14.04.1 | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | 4.4.0-1008.10 | — |
| Ubuntu Pro 14.04 LTS | linux | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | kernel-syms +2 | 4.4.180-94.116.1 | SUSE-SU-2020:1275-1 |
| SLES 12 SP3 | kgraft-patch-SLE12-SP3_Update_31 | 1-4.3.1 | SUSE-SU-2020:1275-1 |
| SLES 12 SP2 | kernel-syms +2 | 4.4.121-92.129.1 | SUSE-SU-2020:1255-1 |
| SLES 12 SP2 | kgraft-patch-SLE12-SP2_Update_34 | 1-3.3.1 | SUSE-SU-2020:1255-1 |
| SLES 11 SP4 | kernel-ec2 +8 | 3.0.101-108.111.1 | SUSE-SU-2020:14354-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | kernel-syms +2 | 4.4.180-94.116.1 | SUSE-SU-2020:1275-1 |
| SLES for SAP 12 SP3 | kgraft-patch-SLE12-SP3_Update_31 | 1-4.3.1 | SUSE-SU-2020:1275-1 |
| SLES for SAP 12 SP2 | kernel-syms +2 | 4.4.121-92.129.1 | SUSE-SU-2020:1255-1 |
| SLES for SAP 12 SP2 | kgraft-patch-SLE12-SP2_Update_34 | 1-3.3.1 | SUSE-SU-2020:1255-1 |
| SUSE OpenStack Cloud Crowbar 8 | kernel-syms +2 | 4.4.180-94.116.1 | SUSE-SU-2020:1275-1 |
| SUSE OpenStack Cloud Crowbar 8 | kgraft-patch-SLE12-SP3_Update_31 | 1-4.3.1 | SUSE-SU-2020:1275-1 |
| SUSE OpenStack Cloud 8 | kernel-syms +2 | 4.4.180-94.116.1 | SUSE-SU-2020:1275-1 |
| SUSE OpenStack Cloud 8 | kgraft-patch-SLE12-SP3_Update_31 | 1-4.3.1 | SUSE-SU-2020:1275-1 |
| SUSE OpenStack Cloud 7 | kernel-syms +2 | 4.4.121-92.129.1 | SUSE-SU-2020:1255-1 |
| SUSE OpenStack Cloud 7 | kgraft-patch-SLE12-SP2_Update_34 | 1-3.3.1 | SUSE-SU-2020:1255-1 |
| SUSE HPE Helion OpenStack 8 | kernel-syms +2 | 4.4.180-94.116.1 | SUSE-SU-2020:1275-1 |
| SUSE HPE Helion OpenStack 8 | kgraft-patch-SLE12-SP3_Update_31 | 1-4.3.1 | SUSE-SU-2020:1275-1 |
| SUSE Enterprise Storage 5 | kernel-syms +2 | 4.4.180-94.116.1 | SUSE-SU-2020:1275-1 |
| SUSE Enterprise Storage 5 | kgraft-patch-SLE12-SP3_Update_31 | 1-4.3.1 | SUSE-SU-2020:1275-1 |
Advisories 3
- SUSE-SU-2020:14354-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1255-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1275-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/media/usb/cpia2/cpia2_core.c
- https://deshal3v.github.io/blog/kernel-research/mmap_exploitation
- https://security.netapp.com/advisory/ntap-20200103-0001/
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=be83bbf806822b1b89e0a0f23cd87cddc409e429