Bug 2070220 (CVE-2022-1055) - CVE-2022-1055 kernel: use-after-free in tc_new_tfilter() in net/sched/cls_api.c
Summary: CVE-2022-1055 kernel: use-after-free in tc_new_tfilter() in net/sched/cls_api.c
Keywords:
Status: NEW
Alias: CVE-2022-1055
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2071704 2071705 2071707 2071710 2071711 2081283 2090410 2070221 2071706 2071708 2071709 2080193
Blocks: 2070222
TreeView+ depends on / blocked
 
Reported: 2022-03-30 16:18 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-06-04 08:05 UTC (History)
49 users (show)

Fixed In Version: kernel 5.17 rc3
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free vulnerability was found in the tc_new_tfilter function in net/sched/cls_api.c in the Linux kernel. The availability of local, unprivileged user namespaces allows privilege escalation.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2022-03-30 16:18:15 UTC
A use-after-free exists in the Linux Kernel in tc_new_tfilter that could allow a local attacker to gain privilege escalation. The exploit requires unprivileged user namespaces. We recommend upgrading past commit 04c2a47ffb13c29778e2a14e414ad4cb5a5db4b5

Reference and upstream patch:
https://syzkaller.appspot.com/bug?id=2212474c958978ab86525fe6832ac8102c309ffc
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=04c2a47ffb13c29778e2a14e414ad4cb5a5db4b5

Comment 1 Guilherme de Almeida Suckevicz 2022-03-30 16:19:14 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2070221]

Comment 3 Justin M. Forbes 2022-03-31 21:32:02 UTC
This was fixed for Fedora with the 5.16.6 stable kernel updates.


Note You need to log in before you can comment on or make changes to this bug.