Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2019-25162 PoC — i2c: Fix a potential use after free

Source
Associated Vulnerability
Title:i2c: Fix a potential use after free (CVE-2019-25162)
Description:In the Linux kernel, the following vulnerability has been resolved: i2c: Fix a potential use after free Free the adap structure only after we are done using it. This patch just moves the put_device() down a bit to avoid the use after free. [wsa: added comment to the code, added Fixes tag]
File Snapshot

[4.0K] /data/pocs/b1c3e5a34b0561bd703fbb9065d161919c44686a ├── [3.4K] i2c-boardinfo.c ├── [ 16K] i2c-core-acpi.c ├── [ 63K] i2c-core-base.c ├── [2.1K] i2c-core.h ├── [8.2K] i2c-core-of.c ├── [3.0K] i2c-core-slave.c ├── [ 20K] i2c-core-smbus.c ├── [ 20K] i2c-dev.c ├── [ 12K] i2c-mux.c ├── [4.5K] i2c-slave-eeprom.c ├── [5.5K] i2c-smbus.c ├── [ 10K] i2c-stub.c ├── [4.4K] Kconfig └── [ 623] Makefile 0 directories, 14 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →