Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-22986

MEDIUM 4.7EPSS 1%

gpiolib: fix race condition for gdev->srcu

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < 1ef731547dfd73f466c5d0e52801b97191d4647f; >= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < fb674c8f1a5d8dd3113a7326030f963fa2d79c02; >= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < a7ac22d53d0990152b108c3f4fe30df45fcb0181
  • Anyone running Linux 6.9

Vulnerability facts

Affected
Linux >= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < 1ef731547dfd73f466c5d0e52801b97191d4647f; >= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < fb674c8f1a5d8dd3113a7326030f963fa2d79c02; >= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < a7ac22d53d0990152b108c3f4fe30df45fcb0181; Linux 6.9
Fixed in
Linux 1ef731547dfd73f466c5d0e52801b97191d4647f
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.13% chance of exploitation in 30 days (percentile 1, 2026-11-26)
CWE
CWE-362
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: gpiolib: fix race condition for gdev->srcu If two drivers were calling gpiochip_add_data_with_key(), one may be traversing the srcu-protected list in gpio_name_to_desc(), meanwhile other has just added its gdev in gpiodev_add_to_list_unlocked(). This creates a non-mutexed and non-protected timeframe, when one instance is dereferencing and using &gdev->srcu, before the other has initialized it, resulting in crash: [ 4.935481] Unable to handle kernel paging request at virtual address ffff800272bcc000 [ 4.943396] Mem abort info: [ 4.943400] ESR = 0x0000000096000005 [ 4.943403] EC = 0x25: DABT (current EL), IL = 32 bits [ 4.943407] SET = 0, FnV = 0 [ 4.943410] EA = 0, S1PTW = 0 [ 4.943413] FSC = 0x05: level 1 translation fault [ 4.943416] Data abort info: [ 4.943418] ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000 [ 4.946220] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 4.955261] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 4.955268] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000038e6c000 [ 4.961449] [ffff800272bcc000] pgd=0000000000000000 [ 4.969203] , p4d=1000000039739003 [ 4.979730] , pud=0000000000000000 [ 4.980210] phandle (CPU): 0x0000005e, phandle (BE): 0x5e000000 for node "reset" [ 4.991736] Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP ... [ 5.121359] pc : __srcu_read_lock+0x44/0x98 [ 5.131091] lr : gpio_name_to_desc+0x60/0x1a0 [ 5.153671] sp : ffff8000833bb430 [ 5.298440] [ 5.298443] Call trace: [ 5.298445] __srcu_read_lock+0x44/0x98 [ 5.309484] gpio_name_to_desc+0x60/0x1a0 [ 5.320692] gpiochip_add_data_with_key+0x488/0xf00 5.946419] ---[ end trace 0000000000000000 ]--- Move initialization code for gdev fields before it is added to gpio_devices, with adjacent initialization code. Adjust goto statements to reflect modified order of operations [Bartosz: fixed a build issue, removed stray newline]

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < 1ef731547dfd73f466c5d0e52801b97191d4647f; >= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < fb674c8f1a5d8dd3113a7326030f963fa2d79c02; >= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < a7ac22d53d0990152b108c3f4fe30df45fcb0181—cvelist
Linux6.9—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-22986. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-22986.md
Affected: Linux >= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < 1ef731547dfd73f466c5d0e52801b97191d4647f; >= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < fb674c8f1a5d8dd3113a7326030f963fa2d79c02; >= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < a7ac22d53d0990152b108c3f4fe30df45fcb0181; Linux 6.9
Fixed in: Linux 1ef731547dfd73f466c5d0e52801b97191d4647f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-22986 being exploited?

There is no confirmed exploitation: CVE-2026-22986 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.13% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-22986?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-22986?

Linux >= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < 1ef731547dfd73f466c5d0e52801b97191d4647f; >= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < fb674c8f1a5d8dd3113a7326030f963fa2d79c02; >= 47d8b4c1d868148c8fb51b785a89e58ca2d02c4d, < a7ac22d53d0990152b108c3f4fe30df45fcb0181; Linux 6.9.

Is there a fix for CVE-2026-22986?

Yes. Fixed in Linux 1ef731547dfd73f466c5d0e52801b97191d4647f. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-22986?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors