Skip to content

[AutoPR- Security] Patch libinput for CVE-2026-50292 [HIGH]#17633

Open
azurelinux-security wants to merge 2 commits into
microsoft:fasttrack/3.0from
azurelinux-security:azure-autosec/libinput/3.0/1133276
Open

[AutoPR- Security] Patch libinput for CVE-2026-50292 [HIGH]#17633
azurelinux-security wants to merge 2 commits into
microsoft:fasttrack/3.0from
azurelinux-security:azure-autosec/libinput/3.0/1133276

Conversation

@azurelinux-security
Copy link
Copy Markdown

@azurelinux-security azurelinux-security commented Jun 5, 2026

Auto Patch libinput for CVE-2026-50292.

Autosec pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1133276&view=results

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

What does the PR accomplish, why was it needed?

Change Log
Does this affect the toolchain?

YES/NO

Associated issues
  • N/A
Links to CVEs
Test Methodology

@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging fasttrack/3.0 PRs Destined for Azure Linux 3.0 labels Jun 5, 2026
@kgodara912
Copy link
Copy Markdown

Buddy build

@kgodara912 kgodara912 force-pushed the azure-autosec/libinput/3.0/1133276 branch from 5bb9fca to fa83dd6 Compare June 6, 2026 12:56
@kgodara912 kgodara912 marked this pull request as ready for review June 6, 2026 13:26
@kgodara912 kgodara912 requested a review from a team as a code owner June 6, 2026 13:26
@kgodara912
Copy link
Copy Markdown

AI Patch Review:
The backport correctly adapts upstream commit b2bde9504d42a5976d76e1f27c640dc561fbd99b for libinput 1.25.0:

  • Adds a local sanitize_phys() function that replaces control characters (< 0x20 and 0x7f) with '?', preventing \n injection into udev properties via malicious UI_SET_PHYS
  • Uses manual memory management (char * + explicit free()) appropriate for 1.25.0's coding style, rather than the newer autofree/steal() macros from later releases
  • Properly handles ownership transfer (*phys_attr = phys; phys = NULL;) and cleanup on all paths

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants