Skip to content

theori-io/CVE-2022-32250-exploit

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
August 25, 2022 12:02
August 25, 2022 08:07
August 25, 2022 08:07

CVE-2022-32250-Linux-Kernel-LPE

Demo Video

https://www.youtube.com/watch?v=YqmwA6fPjKE

About

  • CVE-2022-32250 allows a local user to escalate privileges to root because an incorrect NFT_STATEFUL_EXPR check leads to a use-after-free.

Reference

Affected Version

  • Linux, before commit 520778042ccca019f3ffa136dd0ca565c486cedd (26 May, 2022)
  • Ubuntu <= 22.04 before security patch

Test Environment & Running

Test Environment

  • Platform
    • Ubuntu 22.04 amd64
  • Versions
    • Linux ubuntu 5.15.0-27-generic #28-Ubuntu SMP Thu Apr 14 04:55:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Running

gcc exp.c -o exp -l mnl -l nftnl -w
./exp

Warning

  • This exploit corrupts Linux kernel slabs, which might cause kernel panic when attempting to acquire root privileges.

Result

exp.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages