Skip to content

build(deps): Bump golang.org/x/sys from 0.41.0 to 0.42.0 - #1277

Merged
lklimek merged 1 commit into
v1.6-devfrom
dependabot/go_modules/golang.org/x/sys-0.42.0
Mar 11, 2026
Merged

lklimek merged 1 commit into
v1.6-devfrom
dependabot/go_modules/golang.org/x/sys-0.42.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 10, 2026

Copy link
Copy Markdown
Contributor

Bumps golang.org/x/sys from 0.41.0 to 0.42.0.

Commits
  • eaaaaee windows/registry: correct KeyInfo.ModTime calculation
  • 942780b cpu: darwin/arm64 feature detection
  • acef388 unix/linux: Prefixmsg and PrefixCacheinfo structs
  • 3687fbd cpu: better defaults on darwin ARM64
  • 48062e9 plan9: change Note to alias syscall.Note
  • 4f23f80 windows: change Signal to alias syscall.Signal
  • 7548802 all: upgrade go directive to at least 1.25.0 [generated]
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.41.0 to 0.42.0.
- [Commits](golang/sys@v0.41.0...v0.42.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Mar 10, 2026
@lklimek

lklimek commented Mar 11, 2026

Copy link
Copy Markdown
Collaborator

Dependency Security Review: golang.org/x/sys v0.41.0 → v0.42.0

Change Summary

Field Value
Package golang.org/x/sys
Old version v0.41.0
New version v0.42.0
Commits 7
Files changed 16 (457 additions, 239 deletions)
Nature Bug fixes, platform feature additions, Go version bump
Files in this PR go.mod, go.sum only

Upstream Changes (v0.41.0 → v0.42.0)

  1. Go directive upgrade — minimum Go version bumped to 1.25.0 (generated)
  2. Darwin ARM64 CPU detection — new sysctl-based feature detection for Apple M-series processors, replacing minimal defaults
  3. CPU init refactor — archInit() now calls doinit() for all non-FreeBSD platforms instead of setMinimalFeatures()
  4. Linux netlink structs — added Prefixmsg and PrefixCacheinfo for RTM_NEWPREFIX message parsing
  5. Windows registry fix — corrected KeyInfo.ModTime calculation for timestamps before 1677 (underflow fix)
  6. Windows Signal alias — Signal now aliases syscall.Signal for signal.Notify() compatibility
  7. Plan9 Note alias — Note now aliases syscall.Note

Known Vulnerabilities

Advisory Severity Affected Versions Impacts v0.42.0?
GHSA-p782-xgp4-8hr8 Medium < 0.0.0-20220412211240-33da011f77ad No — patched long before v0.41.0
  • OSV.dev: No vulnerabilities reported for v0.42.0
  • GitHub Advisory Database: No active advisories affecting this version

Library Audit Findings

Severity Finding Location Notes
INFO New syscall usage via sysctlbyname trampoline cpu/syscall_darwin_arm64_gc.go, cpu/asm_darwin_arm64_gc.s Standard pattern for Darwin sysctl calls; uses unsafe.Pointer but follows established Go runtime conventions. No user-controlled input.
INFO Type aliasing changes windows/syscall_windows.go, plan9/syscall_plan9.go Signal/Note types changed to aliases of syscall.* — improves interoperability, no security impact

No CRITICAL, HIGH, MEDIUM, or LOW findings.

Codebase Impact Assessment

  • Direct usage: golang.org/x/sys/unix is imported in libs/os/perms.go for unix.Access() and access flag constants (W_OK, X_OK, R_OK)
  • APIs used: Only unix.Access() and permission constants — none of these are touched by the v0.42.0 changes
  • No deprecated or insecure APIs in use
  • No configuration or credential handling through this dependency
  • The changes in v0.42.0 (Darwin ARM64 CPU detection, Windows registry, Linux netlink structs) are entirely orthogonal to the codebase's usage

Risk Assessment

Overall: Safe

  • This is a standard Go official sub-repository maintained by the Go team
  • All changes are platform-specific feature additions and bug fixes
  • No security fixes, no breaking changes, no API modifications affecting our usage
  • Zero known vulnerabilities for v0.42.0
  • CI: 15/15 checks passed

Recommendation

Approve and merge. No action items for the codebase.

🤖 Co-authored by Claudius the Magnificent AI Agent

@lklimek
lklimek merged commit 6d97eb5 into v1.6-dev Mar 11, 2026
15 checks passed
@lklimek
lklimek deleted the dependabot/go_modules/golang.org/x/sys-0.42.0 branch March 11, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant