U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2026-64242

Change History

New CVE Received from kernel.org 7/24/2026 12:16:53 PM

Action Type Old Value New Value
Added Description

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

usb: gadget: net2280: Fix double free in probe error path

usb_initialize_gadget() installs gadget_release() as the release
callback for the embedded gadget device.  The struct net2280 instance is
therefore released through gadget_release() when the gadget device's last
reference is dropped.

The probe error path calls net2280_remove(), which tears down the
partially initialized device and drops the gadget reference with
usb_put_gadget().  Calling kfree(dev) afterwards can free the same object
again.

Drop the explicit kfree() and let the gadget device release callback
handle the final free.  This issue was found by a static analysis tool
I am developing.
Added Reference

                  
                
              
https://git.kernel.org/stable/c/085652fda7f38040d1a2c42d72614f418feb843f
Added Reference

                  
                
              
https://git.kernel.org/stable/c/48f89ead20e48d447ad29fa937b43b9fa981cf28
Added Reference

                  
                
              
https://git.kernel.org/stable/c/550fa4d071a8c8e53072900869d37ae6abf4999d
Added Reference

                  
                
              
https://git.kernel.org/stable/c/71b3391dc81655ff058492f8e9d013b2c6e5747b
Added Reference

                  
                
              
https://git.kernel.org/stable/c/c5b9fdb1e8ddf50bc6272927edb118679f170350
Added Reference

                  
                
              
https://git.kernel.org/stable/c/c8547c74988e0b5f4cbb1b895e2a57aae084f070
Added Reference

                  
                
              
https://git.kernel.org/stable/c/db2b72e83a0208ae2b3b270bf91662b1c6849a9b
Added Reference

                  
                
              
https://git.kernel.org/stable/c/e6f8be12f0307145b9a6010f044925952b37de8b
Added Affected

                  
                
              
[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/usb/gadget/udc/net2280.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"71b3391dc81655ff058492f8e9d013b2c6e5747b","versionType":"git","status":"affected"},{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"550fa4d071a8c8e53072900869d37ae6abf4999d","versionType":"git","status":"affected"},{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"c5b9fdb1e8ddf50bc6272927edb118679f170350","versionType":"git","status":"affected"},{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"085652fda7f38040d1a2c42d72614f418feb843f","versionType":"git","status":"affected"},{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"48f89ead20e48d447ad29fa937b43b9fa981cf28","versionType":"git","status":"affected"},{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"e6f8be12f0307145b9a6010f044925952b37de8b","versionType":"git","status":"affected"},{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"db2b72e83a0208ae2b3b270bf91662b1c6849a9b","versionType":"git","status":"affected"},{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"c8547c74988e0b5f4cbb1b895e2a57aae084f070","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/usb/gadget/udc/net2280.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","versionType":"semver","status":"unaffected"},{"version":"5.10.259","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.210","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.176","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.143","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.93","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.35","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.0.12","lessThanOrEqual":"7.0.*","versionType":"semver","status":"unaffected"},{"version":"7.1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]