tomoyo: fix UAF write bug in tomoyo_write_control() (Linux Linux)

CVE-2024-26622
HIGH 7.8

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: tomoyo: fix UAF write bug in tomoyo_write_control() Since tomoyo_write_control() updates head->write_buf when write() of long lines is requested, we need to fetch head->write_buf after head->io_sem is held. Otherwise, concurrent write() requests can cause use-after-free-write and double-free problems.

Weaknesses (CWE)

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:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected bd03a3e4c9a9df0c6b007045fa7fc8889111a478 < a23ac1788e2c828c097119e9a3178f0b7e503fee ; affected bd03a3e4c9a9df0c6b007045fa7fc8889111a478 < 7d930a4da17958f869ef679ee0e4a8729337affc ; affected bd03a3e4c9a9df0c6b007045fa7fc8889111a478 < 3bfe04c1273d30b866f4c7c238331ed3b08e5824 ; affected bd03a3e4c9a9df0c6b007045fa7fc8889111a478 < 2caa605079488da9601099fbda460cfc1702839f ; affected bd03a3e4c9a9df0c6b007045fa7fc8889111a478 < 6edefe1b6c29a9932f558a898968a9fcbeec5711 ; affected bd03a3e4c9a9df0c6b007045fa7fc8889111a478 < 2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815
Linux · Linuxaffected 3.1 ; unaffected 0 < 3.1 ; unaffected 5.10.212 ≤ 5.10.* ; unaffected 5.15.151 ≤ 5.15.* ; unaffected 6.1.81 ≤ 6.1.* ; unaffected 6.6.21 ≤ 6.6.*

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