CVE-2026-31606 Affecting linux-aws-6.18 package, versions <6.18.31-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.16% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-LINUXAWS618-16727108
  • published17 May 2026
  • disclosed24 Apr 2026

Introduced: 24 Apr 2026

CVE-2026-31606  (opens in a new tab)

How to fix?

Upgrade Chainguard linux-aws-6.18 to version 6.18.31-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream linux-aws-6.18 package and not the linux-aws-6.18 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: f_hid: don't call cdev_init while cdev in use

When calling unbind, then bind again, cdev_init reinitialized the cdev, even though there may still be references to it. That's the case when the /dev/hidg* device is still opened. This obviously unsafe behavior like oopes.

This fixes this by using cdev_alloc to put the cdev on the heap. That way, we can simply allocate a new one in hidg_bind.

CVSS Base Scores

version 3.1