A flaw was found in the Linux kernels TUN/TAP functionality. This issue could allow a local user to bypass network filters and gain unauthorized access to some resources. The original patches fixing CVE-2023-1076 are incorrect or incomplete. The problem is that the following upstream commits - a096ccca6e50 (tun: tun_chr_open(): correctly initialize socket uid), - 66b2c338adce (tap: tap_open(): correctly initialize socket uid), pass inode->i_uid to sock_init_data_uid() as the last parameter and that turns out to not be accurate.
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Linux_kernel | Linux | * | 6.4 (including) |
Linux_kernel | Linux | 6.5-rc1 (including) | 6.5-rc1 (including) |
Linux_kernel | Linux | 6.5-rc2 (including) | 6.5-rc2 (including) |
Linux_kernel | Linux | 6.5-rc3 (including) | 6.5-rc3 (including) |
Linux_kernel | Linux | 6.5-rc4 (including) | 6.5-rc4 (including) |
Assuming a user with a given identity, authorization is the process of determining whether that user can access a given resource, based on the user’s privileges and any permissions or other access-control specifications that apply to the resource. When access control checks are incorrectly applied, users are able to access data or perform actions that they should not be allowed to perform. This can lead to a wide range of problems, including information exposures, denial of service, and arbitrary code execution.