CVE-2022-49672

net: tun: unlink NAPI from device on destruction

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.30 % · percentile 23 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: net: tun: unlink NAPI from device on destruction Syzbot found a race between tun file and device destruction. NAPIs live in struct tun_file which can get destroyed before the netdev so we have to del them explicitly. The current code is missing deleting the NAPI if the queue was detached first.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 943170998b200190f99d3fe7e771437e2c51f319 < 82e729aee59acefe135fceffadcbc5b86dd4f1b9 ; affected 943170998b200190f99d3fe7e771437e2c51f319 < a8cf919022373c97a84fe596bbea544f909c485d ; affected 943170998b200190f99d3fe7e771437e2c51f319 < bec1be0a745ab420718217e3e0d9542a75108989 ; affected 943170998b200190f99d3fe7e771437e2c51f319 < 8145f77d38de4f88b8a69e1463f5c09ba189d77c ; affected 943170998b200190f99d3fe7e771437e2c51f319 < 8661d4b8faa2f7ee7a559969c0a7c57f077b1728 ; affected 943170998b200190f99d3fe7e771437e2c51f319 < 3b9bc84d311104906d2b4995a9a02d7b7ddab2db
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 4.19.251 ≤ 4.19.* ; unaffected 5.4.204 ≤ 5.4.* ; unaffected 5.10.129 ≤ 5.10.* ; unaffected 5.15.53 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD