CVE-2023-54142
published high CVSS 3.1 · 7.8gtp: Fix use-after-free in __gtp_encap_destroy().
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux01f3c64e405ab3d25887d080a103ad76f30661d2 to < d38039697184aacff1cf576e14ef583112fdefef · e117a04133c673cc54292e12086a8177cd9bd4a4 to < e5aa6d829831a55a693dbaeb58f8d22ba7f2b3e6 · e198987e7dd7d3645a53875151cd6f8fc425b706 to < 9c9662e2512b5e4ee7b03108802c5222e0fa77a4 · e198987e7dd7d3645a53875151cd6f8fc425b706 to < bccc7ace12e69dee4684a3bb4b69737972e570d6 · e198987e7dd7d3645a53875151cd6f8fc425b706 to < ebd6d2077a083329110695a996c00e8ca94bc640 · e198987e7dd7d3645a53875151cd6f8fc425b706 to < 17d6b6354f0025b7c10a56da783fd0cbb3819c5d · e198987e7dd7d3645a53875151cd6f8fc425b706 to < dae6095bdb24f537b4798ffd9201515b97bac94e · e198987e7dd7d3645a53875151cd6f8fc425b706 to < 58fa341327fdb4bdf92597fd8796a9abc8d20ea3 · e198987e7dd7d3645a53875151cd6f8fc425b706 to < ce3aee7114c575fab32a5e9e939d4bbb3dcca79f · bf75202df8e473d4ee914894542f213158066d8b · 76357f65f18f180f44ccbbbf713461881d0ab219 · 4.14.135 to < 4.14.322 · 4.19.61 to < 4.19.291 · 5.1.20 to < 5.2 · 5.2.3 to < 5.3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.3 (affected) · 0 to < 5.3 (unaffected · semver) · 4.14.322 through 4.14.* (unaffected · semver) · 4.19.291 through 4.19.* (unaffected · semver) · 5.4.251 through 5.4.* (unaffected · semver) · 5.10.188 through 5.10.* (unaffected · semver) · 5.15.121 through 5.15.* (unaffected · semver) · 6.1.39 through 6.1.* (unaffected · semver) · 6.3.13 through 6.3.* (unaffected · semver) · 6.4.4 through 6.4.* (unaffected · semver) · 6.5 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 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-64kbaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaults390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150400.24.194.1.150400.24.98.3 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-baseppc64le | Advisory build | 5.14.21-150400.24.194.1.150400.24.98.3 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-basex86_64 | Advisory build | 5.14.21-150400.24.194.1.150400.24.98.3 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-devels390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-develnoarch | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-docsnoarch | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_150-defaultppc64le | Advisory build | 15-150400.2.1 | SUSE-SU-2026:0711-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_150-defaults390x | Advisory build | 15-150400.2.1 | SUSE-SU-2026:0711-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_150-defaultx86_64 | Advisory build | 15-150400.2.1 | SUSE-SU-2026:0711-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_176-defaultppc64le | Advisory build | 8-150400.2.1 | SUSE-SU-2026:0713-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_176-defaults390x | Advisory build | 8-150400.2.1 | SUSE-SU-2026:0713-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_176-defaultx86_64 | Advisory build | 8-150400.2.1 | SUSE-SU-2026:0713-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_194-defaultppc64le | Advisory build | 1-150400.9.7.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_194-defaults390x | Advisory build | 1-150400.9.7.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_194-defaultx86_64 | Advisory build | 1-150400.9.7.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-macrosnoarch | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-builds390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-sourcenoarch | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symss390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-zfcpdumps390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaults390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaults390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.136.1.150500.6.67.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.136.1.150500.6.67.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.136.1.150500.6.67.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.136.1 | SUSE-SU-2026:0474-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_110-defaultppc64le | Advisory build | 13-150500.2.1 | SUSE-SU-2026:0727-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_110-defaults390x | Advisory build | 13-150500.2.1 | SUSE-SU-2026:0727-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_110-defaultx86_64 | Advisory build | 13-150500.2.1 | SUSE-SU-2026:0727-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_124-defaultppc64le | Advisory build | 5-150500.2.1 | SUSE-SU-2026:0731-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_124-defaults390x | Advisory build | 5-150500.2.1 | SUSE-SU-2026:0731-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_124-defaultx86_64 | Advisory build | 5-150500.2.1 | SUSE-SU-2026:0731-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: gtp: Fix use-after-free in __gtp_encap_destroy(). syzkaller reported use-after-free in __gtp_encap_destroy(). [0] It shows the same process freed sk and touched it illegally. Commit e198987e7dd7 ("gtp: fix suspicious RCU usage") added lock_sock() and release_sock() in __gtp_encap_destroy() to protect sk->sk_user_data, but release_sock() is called after sock_put() releases the last refcnt. [0]: BUG: KASAN: slab-use-after-free in instrument_atomic_read_write include/linux/instrumented.h:96 [inline] BUG: KASAN: slab-use-after-free in atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:541 [inline] BUG: KASAN: slab-use-after-free in queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] BUG: KASAN: slab-use-after-free in do_raw_spin_lock include/linux/spinlock.h:186 [inline] BUG: KASAN: slab-use-after-free in __raw_spin_lock_bh include/linux/spinlock_api_smp.h:127 [inline] BUG: KASAN: slab-use-after-free in _raw_spin_lock_bh+0x75/0xe0 kernel/locking/spinlock.c:178 Write of size 4 at addr ffff88800dbef398 by task syz-executor.2/2401 CPU: 1 PID: 2401 Comm: syz-executor.2 Not tainted 6.4.0-rc5-01219-gfa0e21fa4443 #2 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014 Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x72/0xa0 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:351 [inline] print_report+0xcc/0x620 mm/kasan/report.c:462 kasan_report+0xb2/0xe0 mm/kasan/report.c:572 check_region_inline mm/kasan/generic.c:181 [inline] kasan_check_range+0x39/0x1c0 mm/kasan/generic.c:187 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:541 [inline] queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] do_raw_spin_lock include/linux/spinlock.h:186 [inline] __raw_spin_lock_bh include/linux/spinlock_api_smp.h:127 [inline] _raw_spin_lock_bh+0x75/0xe0 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:355 [inline] release_sock+0x1f/0x1a0 net/core/sock.c:3526 gtp_encap_disable_sock drivers/net/gtp.c:651 [inline] gtp_encap_disable+0xb9/0x220 drivers/net/gtp.c:664 gtp_dev_uninit+0x19/0x50 drivers/net/gtp.c:728 unregister_netdevice_many_notify+0x97e/0x1520 net/core/dev.c:10841 rtnl_delete_link net/core/rtnetlink.c:3216 [inline] rtnl_dellink+0x3c0/0xb30 net/core/rtnetlink.c:3268 rtnetlink_rcv_msg+0x450/0xb10 net/core/rtnetlink.c:6423 netlink_rcv_skb+0x15d/0x450 net/netlink/af_netlink.c:2548 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x700/0x930 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x91c/0xe30 net/netlink/af_netlink.c:1913 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg+0x1b7/0x200 net/socket.c:747 ____sys_sendmsg+0x75a/0x990 net/socket.c:2493 ___sys_sendmsg+0x11d/0x1c0 net/socket.c:2547 __sys_sendmsg+0xfe/0x1d0 net/socket.c:2576 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3f/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f1168b1fe5d Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 73 9f 1b 00 f7 d8 64 89 01 48 RSP: 002b:00007f1167edccc8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000004bbf80 RCX: 00007f1168b1fe5d RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000003 RBP: 00000000004bbf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f1168b80530 R15: 0000000000000000 </TASK> Allocated by task 1483: kasan_save_stack+0x22/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 __kasan_slab_alloc+0x ---truncated---
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached through local syscalls only — `socket()`/`setsockopt(SOL_UDP, UDP_ENCAP)` on a UDP socket plus `RTM_NEWLINK`/`RTM_DELLINK` messages on an AF_NETLINK socket. No network packet reaches the vulnerable code. AC:L - The trigger is a fully deterministic, race-free sequence: attaching a UDP socket to a gtp link, zeroing `up->encap_type` via unprivileged `setsockopt(UDP_ENCAP, 0)` so `udpv6_destroy_sock()` skips the `encap_destroy` callback, closing the fd, then deleting the link — guaranteeing GTP holds the last reference when `sock_put()` runs. The attacker also fully controls heap grooming for the reclaim. PR:L - The rtnetlink gates are `netlink_net_capable(skb, CAP_NET_ADMIN)` and `netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)`, which are user-namespace scoped, so any unprivileged local user obtains them via `unshare -Urn`; `gtp_net_ops` is a pernet subsys so gtp links are creatable in that netns, and `MODULE_ALIAS_RTNL_LINK("gtp")` lets the same request autoload gtp.ko. The `UDP_ENCAP` setsockopt step requires no privileges at all. UI:N - The entire sequence is performed by the attacker's own process; no victim action, no administrator configuration, and no interaction with any other user is needed. S:U - The freed `struct sock` and the resulting corruption are both within the kernel's own security authority, with no crossing of a VM, IOMMU, or hypervisor boundary. C:H - The use-after-free on a 1344-byte UDPv6 `struct sock` lets an attacker who reclaims the object have the kernel read attacker-influenced pointers (`sk_prot`, `sk_backlog.head/tail`, `sk_lock.wq`) and dereference them, yielding kernel memory disclosure and full read primitives. I:H - `release_sock()` on the freed object performs an indirect call through `sk->sk_prot->release_cb` and, via `__release_sock()`, through `sk->sk_backlog_rcv`, plus waitqueue list-pointer writes — giving control-flow hijack and arbitrary-write primitives once the slab object is reclaimed, i.e. local privilege escalation. A:H - Even without exploitation the bug is a guaranteed slab use-after-free — a spinlock cmpxchg and list operations on freed memory — reliably producing kernel oops, slab corruption, or hang, and it is repeatable at will by an unprivileged local user.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 01f3c64e405ab3d25887d080a103ad76f30661d2 to < d38039697184aacff1cf576e14ef583112fdefef (affected · git)e117a04133c673cc54292e12086a8177cd9bd4a4 to < e5aa6d829831a55a693dbaeb58f8d22ba7f2b3e6 (affected · git)e198987e7dd7d3645a53875151cd6f8fc425b706 to < 9c9662e2512b5e4ee7b03108802c5222e0fa77a4 (affected · git)e198987e7dd7d3645a53875151cd6f8fc425b706 to < bccc7ace12e69dee4684a3bb4b69737972e570d6 (affected · git)e198987e7dd7d3645a53875151cd6f8fc425b706 to < ebd6d2077a083329110695a996c00e8ca94bc640 (affected · git)e198987e7dd7d3645a53875151cd6f8fc425b706 to < 17d6b6354f0025b7c10a56da783fd0cbb3819c5d (affected · git)e198987e7dd7d3645a53875151cd6f8fc425b706 to < dae6095bdb24f537b4798ffd9201515b97bac94e (affected · git)e198987e7dd7d3645a53875151cd6f8fc425b706 to < 58fa341327fdb4bdf92597fd8796a9abc8d20ea3 (affected · git)e198987e7dd7d3645a53875151cd6f8fc425b706 to < ce3aee7114c575fab32a5e9e939d4bbb3dcca79f (affected · git)bf75202df8e473d4ee914894542f213158066d8b (affected · git)76357f65f18f180f44ccbbbf713461881d0ab219 (affected · git)4.14.135 to < 4.14.322 (affected · semver)4.19.61 to < 4.19.291 (affected · semver)5.1.20 to < 5.2 (affected · semver)5.2.3 to < 5.3 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.3 (affected)0 to < 5.3 (unaffected · semver)4.14.322 through 4.14.* (unaffected · semver)4.19.291 through 4.19.* (unaffected · semver)5.4.251 through 5.4.* (unaffected · semver)5.10.188 through 5.10.* (unaffected · semver)5.15.121 through 5.15.* (unaffected · semver)6.1.39 through 6.1.* (unaffected · semver)6.3.13 through 6.3.* (unaffected · semver)6.4.4 through 6.4.* (unaffected · semver)6.5 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
9- https://git.kernel.org/stable/c/17d6b6354f0025b7c10a56da783fd0cbb3819c5d
- https://git.kernel.org/stable/c/58fa341327fdb4bdf92597fd8796a9abc8d20ea3
- https://git.kernel.org/stable/c/9c9662e2512b5e4ee7b03108802c5222e0fa77a4
- https://git.kernel.org/stable/c/bccc7ace12e69dee4684a3bb4b69737972e570d6
- https://git.kernel.org/stable/c/ce3aee7114c575fab32a5e9e939d4bbb3dcca79f
- https://git.kernel.org/stable/c/d38039697184aacff1cf576e14ef583112fdefef
- https://git.kernel.org/stable/c/dae6095bdb24f537b4798ffd9201515b97bac94e
- https://git.kernel.org/stable/c/e5aa6d829831a55a693dbaeb58f8d22ba7f2b3e6
- https://git.kernel.org/stable/c/ebd6d2077a083329110695a996c00e8ca94bc640
Provider assertions
1Linux · cna
gtp: Fix use-after-free in __gtp_encap_destroy().
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1fcc93c0f401341db5dc828dac4177c4203f2f92992e55a8bea5fbfbee811534
- Ingested
- 23 Sep 2026, 08:15:07 UTC
- Source record
- Official CVE record