In the Linux kernel, the following vulnerability has been resolved:
cgroup: Add missing cpusreadlock() to cgroupattachtask_all()
syzbot is hitting percpurwsemassertheld(&cpuhotpluglock) warning at cpusetattach() [1], for commit 4f7e7236435ca0ab ("cgroup: Fix threadgrouprwsem <-> cpusreadlock() deadlock") missed that cpusetattach() is also called from cgroupattachtaskall(). Add cpusreadlock() like what cgroupprocswritestart() does.
{ "vanir_signatures": [ { "signature_version": "v1", "digest": { "threshold": 0.9, "line_hashes": [ "303188937433754210024151070993501779506", "305248952126220394430862485589678416269", "323373086524899501686940646732207213329", "94951747250617309421363145818797619955", "270775309127768204922062638478545043809", "138476793633101490292668424369299526043", "248991778604469373638484093563749915013", "327676054232727696654136748738821693674" ] }, "deprecated": false, "id": "CVE-2022-48671-0b843778", "target": { "file": "kernel/cgroup/cgroup-v1.c" }, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5db17805b6ba4c34dab303f49aea3562fc25af75" }, { "signature_version": "v1", "digest": { "length": 473.0, "function_hash": "252306520383445713572297765986971473674" }, "deprecated": false, "id": "CVE-2022-48671-14bc4650", "target": { "function": "cgroup_attach_task_all", "file": "kernel/cgroup/cgroup-v1.c" }, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07191f984842d50020789ff14c75da436a7f46a9" }, { "signature_version": "v1", "digest": { "threshold": 0.9, "line_hashes": [ "213698636076369787076791046692652463305", "321926629874068492231064346277474239510", "201645042691896314168532212757343533019", "203738293534595238481059997069581929092", "303188937433754210024151070993501779506", "305248952126220394430862485589678416269", "323373086524899501686940646732207213329", "94951747250617309421363145818797619955", "270775309127768204922062638478545043809", "138476793633101490292668424369299526043", "248991778604469373638484093563749915013", "327676054232727696654136748738821693674" ] }, "deprecated": false, "id": "CVE-2022-48671-2fd5fd5d", "target": { "file": "kernel/cgroup/cgroup-v1.c" }, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@321488cfac7d0eb6d97de467015ff754f85813ff" }, { "signature_version": "v1", "digest": { "threshold": 0.9, "line_hashes": [ "193320947375582635182915660876871988819", "326031395324114160085472470560318800070", "278555958353952075218691584845307926586", "251125244901559151536804692505418683760", "303188937433754210024151070993501779506", "305248952126220394430862485589678416269", "323373086524899501686940646732207213329", "94951747250617309421363145818797619955", "270775309127768204922062638478545043809", "138476793633101490292668424369299526043", "248991778604469373638484093563749915013", "327676054232727696654136748738821693674" ] }, "deprecated": false, "id": "CVE-2022-48671-2fe65985", "target": { "file": "kernel/cgroup/cgroup-v1.c" }, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07191f984842d50020789ff14c75da436a7f46a9" }, { "signature_version": "v1", "digest": { "threshold": 0.9, "line_hashes": [ "303188937433754210024151070993501779506", "305248952126220394430862485589678416269", "323373086524899501686940646732207213329", "94951747250617309421363145818797619955", "270775309127768204922062638478545043809", "138476793633101490292668424369299526043", "248991778604469373638484093563749915013", "327676054232727696654136748738821693674" ] }, "deprecated": false, "id": "CVE-2022-48671-345de14d", "target": { "file": "kernel/cgroup/cgroup-v1.c" }, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99bc25748e394d17f9e8b10cc7f273b8e64c1c7e" }, { "signature_version": "v1", "digest": { "length": 432.0, "function_hash": "217813135555359274763240775230482787542" }, "deprecated": false, "id": "CVE-2022-48671-7dd36695", "target": { "function": "cgroup_attach_task_all", "file": "kernel/cgroup/cgroup-v1.c" }, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99bc25748e394d17f9e8b10cc7f273b8e64c1c7e" }, { "signature_version": "v1", "digest": { "threshold": 0.9, "line_hashes": [ "303188937433754210024151070993501779506", "305248952126220394430862485589678416269", "323373086524899501686940646732207213329", "94951747250617309421363145818797619955", "270775309127768204922062638478545043809", "138476793633101490292668424369299526043", "248991778604469373638484093563749915013", "327676054232727696654136748738821693674" ] }, "deprecated": false, "id": "CVE-2022-48671-82aa6db8", "target": { "file": "kernel/cgroup/cgroup-v1.c" }, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@43626dade36fa74d3329046f4ae2d7fdefe401c6" }, { "signature_version": "v1", "digest": { "length": 432.0, "function_hash": "217813135555359274763240775230482787542" }, "deprecated": false, "id": "CVE-2022-48671-c63a15ed", "target": { "function": "cgroup_attach_task_all", "file": "kernel/cgroup/cgroup-v1.c" }, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@43626dade36fa74d3329046f4ae2d7fdefe401c6" }, { "signature_version": "v1", "digest": { "length": 473.0, "function_hash": "252306520383445713572297765986971473674" }, "deprecated": false, "id": "CVE-2022-48671-ca23afe5", "target": { "function": "cgroup_attach_task_all", "file": "kernel/cgroup/cgroup-v1.c" }, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f267393b036f1470fb12fb892d59e7ff8aeb58d" }, { "signature_version": "v1", "digest": { "threshold": 0.9, "line_hashes": [ "303188937433754210024151070993501779506", "305248952126220394430862485589678416269", "323373086524899501686940646732207213329", "94951747250617309421363145818797619955", "270775309127768204922062638478545043809", "138476793633101490292668424369299526043", "248991778604469373638484093563749915013", "327676054232727696654136748738821693674" ] }, "deprecated": false, "id": "CVE-2022-48671-eb3260b5", "target": { "file": "kernel/cgroup/cgroup-v1.c" }, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f267393b036f1470fb12fb892d59e7ff8aeb58d" }, { "signature_version": "v1", "digest": { "length": 473.0, "function_hash": "252306520383445713572297765986971473674" }, "deprecated": false, "id": "CVE-2022-48671-f7b083bc", "target": { "function": "cgroup_attach_task_all", "file": "kernel/cgroup/cgroup-v1.c" }, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@321488cfac7d0eb6d97de467015ff754f85813ff" }, { "signature_version": "v1", "digest": { "length": 473.0, "function_hash": "252306520383445713572297765986971473674" }, "deprecated": false, "id": "CVE-2022-48671-fa28ed33", "target": { "function": "cgroup_attach_task_all", "file": "kernel/cgroup/cgroup-v1.c" }, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5db17805b6ba4c34dab303f49aea3562fc25af75" } ] }