jsg
bf229d989d
drm/amd/display: Fix DisplayID not-found handling in parse_edid_displayid_vrr()
...
From Srinivasan Shanmugam
430334e9e4e815b0541f8337c2dbd49d7d3b55fa in linux-6.18.y/6.18.20
2323b019651ad81c20a0f7f817c63392b3110652 in mainline linux
2026-03-25 23:50:06 +00:00
jsg
9dcb779ade
drm/i915/psr: Compute PSR entry_setup_frames into intel_crtc_state
...
From Jouni Hogander
9691c50fd5dd14ecb88ce8e80a8632cb7471c052 in linux-6.18.y/6.18.20
7caac659a837af9fd4cad85be851982b88859484 in mainline linux
2026-03-25 23:47:39 +00:00
jsg
5aafb9241b
drm/i915/dmc: Fix an unlikely NULL pointer deference at probe
...
From Imre Deak
0b35d11fbbcfd1079c8489282a341944228835e3 in linux-6.18.y/6.18.20
ac57eb3b7d2ad649025b5a0fa207315f755ac4f6 in mainline linux
2026-03-25 23:44:32 +00:00
jsg
d4530f2f4c
drm/amdgpu: Limit BO list entry count to prevent resource exhaustion
...
From Jesse.Zhang
5ce4a38e6c2488949e373d5066303f9c128db614 in linux-6.18.y/6.18.20
6270b1a5dab94665d7adce3dc78bc9066ed28bdd in mainline linux
2026-03-25 23:42:23 +00:00
jsg
4bf88bbb0b
drm/amdgpu: apply state adjust rules to some additional HAINAN vairants
...
From Alex Deucher
73908f65f5cc32f9da07c5df0f58d1fd5ed5834e in linux-6.18.y/6.18.20
9787f7da186ee8143b7b6d914cfa0b6e7fee2648 in mainline linux
2026-03-25 23:37:59 +00:00
jsg
5c5da28dcf
drm/radeon: apply state adjust rules to some additional HAINAN vairants
...
From Alex Deucher
c18eef45af03655e1c93b6438a357ceaeb567200 in linux-6.18.y/6.18.20
86650ee2241ff84207eaa298ab318533f3c21a38 in mainline linux
2026-03-25 23:36:20 +00:00
jsg
cec8f58773
drm/amdgpu/mmhub4.1.0: add bounds checking for cid
...
From Alex Deucher
7687403d658054027c60654cf71fc29ad90c9e1d in linux-6.18.y/6.18.20
3cdd405831d8cc50a5eae086403402697bb98a4a in mainline linux
2026-03-25 23:33:57 +00:00
jsg
173a72450c
drm/amdgpu/mmhub3.0: add bounds checking for cid
...
From Alex Deucher
72365be44cc7e2cf05514e0dafcd7664f3267358 in linux-6.18.y/6.18.20
cdb82ecbeccb55fae75a3c956b605f7801a30db1 in mainline linux
2026-03-25 23:32:12 +00:00
jsg
81b944a8f8
drm/amdgpu/mmhub3.0.2: add bounds checking for cid
...
From Alex Deucher
4b9e5676db815341b0c21006250845e5a0161afa in linux-6.18.y/6.18.20
e5e6d67b1ce9764e67aef2d0eef9911af53ad99a in mainline linux
2026-03-25 23:30:48 +00:00
jsg
a87dfe1590
drm/amdgpu/mmhub3.0.1: add bounds checking for cid
...
From Alex Deucher
56f0473d3c6314502fdcf76e574985a585aa707d in linux-6.18.y/6.18.20
5d4e88bcfef29569a1db224ef15e28c603666c6d in mainline linux
2026-03-25 23:29:33 +00:00
jsg
1148f5939d
drm/amdgpu/mmhub2.3: add bounds checking for cid
...
From Alex Deucher
603db8a36517ce318b213cf1740b7d1f0f6b233b in linux-6.18.y/6.18.20
a54403a534972af5d9ba5aaa3bb6ead612500ec6 in mainline linux
2026-03-25 23:28:10 +00:00
jsg
ee6f1d582d
drm/amdgpu/mmhub2.0: add bounds checking for cid
...
From Alex Deucher
2c4eea0eba197b036804cf4c76bd9b70aa02f30a in linux-6.18.y/6.18.20
0b26edac4ac5535df1f63e6e8ab44c24fe1acad7 in mainline linux
2026-03-25 23:26:44 +00:00
jsg
00c02f8868
drm/amdgpu/gmc9.0: add bounds checking for cid
...
From Alex Deucher
3256b95b2d3c472bccee9a6ba83e883a540c1e83 in linux-6.18.y/6.18.20
f39e1270277f4b06db0b2c6ec9405b6dd766fb13 in mainline linux
2026-03-25 23:24:14 +00:00
jsg
84b7e477fd
drm/amd/display: Wrap dcn32_override_min_req_memclk() in DC_FP_{START, END}
...
From Xi Ruoyao
e25fff4a9eac969a580eaac86b650d355ac9a91c in linux-6.18.y/6.18.20
ebe82c6e75cfc547154d0fd843b0dd6cca3d548f in mainline linux
2026-03-25 23:22:48 +00:00
jsg
3d0374cbf3
drm: Fix use-after-free on framebuffers and property blobs when calling drm_dev_unplug
...
From Maarten Lankhorst
074d06d3724ccab0c5bb779db594a82b6405e501 in linux-6.18.y/6.18.20
6bee098b91417654703e17eb5c1822c6dfd0c01d in mainline linux
2026-03-25 23:20:35 +00:00
jsg
9a6fb9a4d2
drm/i915/vrr: Configure VRR timings after enabling TRANS_DDI_FUNC_CTL
...
From Ville Syrjala
8a7d29b8bda144d44e61df1b2705b1d4378f4e44 in linux-6.18.y/6.18.20
237aab549676288d9255bb8dcc284738e56eaa31 in mainline linux
2026-03-25 23:17:42 +00:00
jsg
d06a33969a
drm/i915/vrr: Move HAS_VRR() check into intel_vrr_set_transcoder_timings()
...
From Ville Syrjala
1aa7745b97fda5c099b0a3321a45129430afa14c in linux-6.18.y/6.18.20
78ea8eb5b6235b3ef68fa0fb8ffe0b3b490baf38 in mainline linux
2026-03-25 23:15:02 +00:00
jsg
da96c44cc2
drm/i915/psr: Write DSC parameters on Selective Update in ET mode
...
From Jouni Hogander
4ab7c9fa0a477ebe4eb40847f85bfbcb70dfd653 in linux-6.18.y/6.18.20
5923a6e0459fdd3edac4ad5abccb24d777d8f1b6 in mainline linux
2026-03-25 23:12:30 +00:00
jsg
3e149d2cd1
drm/i915/dsc: Add helper for writing DSC Selective Update ET parameters
...
From Jouni Hogander
a5cdbbc77147047219e7f35da4c778d30778e754 in linux-6.18.y/6.18.20
bb5f1cd10101c2567bff4d0e760b74aee7c42f44 in mainline linux
2026-03-25 23:09:56 +00:00
jsg
8500e6a1b0
drm/i915/dsc: Add Selective Update register definitions
...
From Jouni Hogander
291d19d586a5af8d24eaef71e53509b5e093c2ee in linux-6.18.y/6.18.20
c2c79c6d5b939ae8a42ddb884f576bddae685672 in mainline linux
2026-03-25 23:07:05 +00:00
kn
35138522e9
Simplify ro/rw overwrite in munge_fstab()
...
The installer mounts every 'ffs' fstab(5) entry 'rw' and all else 'ro',
regardless of their mode in the file.
Merge the two symmetrical sed invocations swapping besaid options into one
by using a variable for the desired mode.
OK afresh1 krw
2026-03-25 21:24:29 +00:00
kn
01ab9fa9b6
drop in-line comments repeating munge_fstab() function description
...
OK afresh1 krw
2026-03-25 21:07:46 +00:00
nicm
94c603bf46
Use \- for hyphens in tmux.1 to cause newer groff versions to render
...
them correctly (ASCII hyphen rather than Unicode) which aids copy and
paste. From Keith Thompson in GitHub issue 4948.
2026-03-25 10:08:50 +00:00
deraadt
ee1bf64f5b
In the namei callback for __pledge_open() invert the logic of checking
...
pledge/namei modes and then checking for the path. Now, first
identify the path with array bsearch then check the pledge/namei modes.
Since this is __pledge_open(), if the path is not known, terminate with
an EACCES abort. If the path is known but the pledge/namei modes don't
suggest an unveil bypass, allow the code to fallthrough to the rpath/wpath
checks, and then back into namei for unveil validation.
ok dgl
2026-03-25 05:14:10 +00:00
deraadt
0d3e0c9264
Wrap the pledge-related sysctl code in SMALL_KERNEL, because it is big
...
and the ramdisk does not need it
ok mlarkin, discussed with dgl
2026-03-25 05:05:41 +00:00
dtucker
2734781db3
Use ~/.shosts for Hostbased test.
2026-03-24 12:31:35 +00:00
dtucker
87dc1fa973
Ensure known_hosts file exists when setting up.
2026-03-24 10:21:14 +00:00
cludwig
7348976a6a
dt: Deny enabling probes after recording starts
...
Enabling more probes after recording starts using the DTIOCRECORD ioctl
only puts these probes onto the ds_pcbs list, but not on the dtp_pcbs.
Stopping the recording afterwards crashes.
Do not allow to add more probes after recording started. For symmetry,
also do not allow to remove probes either.
ok mpi@
Reported-by: syzbot+1ee7b3d649b3fd543300@syzkaller.appspotmail.com
2026-03-24 09:11:56 +00:00
deraadt
75dd82699d
the array must be sorted for bsearch
2026-03-24 05:48:09 +00:00
dgl
61b46e47fb
Stop allowing stat("/etc/hosts") in pledge "dns".
...
Only libc can read /etc/hosts under pledge "dns" now, so stat() succeeding
based on the pledge is misleading.
ok deraadt
2026-03-24 05:38:44 +00:00
dgl
d7e4396e01
Remove outdated comment. BYPASSUNVEIL is used inside __pledge_open only now.
2026-03-24 01:03:11 +00:00
daniel
b75055f7ac
psignal(3): align the type of the signal parameter with POSIX
...
POSIX uses an int for the signal number instead of an unsigned int. NetBSD
made this change in 2010 and FreeBSD made this change in 2016. Follow suit
with the other BSDs and match what POSIX specifies.
This should not have an impact on the ABI and therefore no bump is needed.
Flagged by Sortix os-test.
ok deraadt@, millert@
2026-03-23 21:33:43 +00:00
jsg
2084961b94
refereced -> referenced; ok bluhm@
2026-03-23 13:12:39 +00:00
jsg
b25f4bf90b
isolaved -> isolated; ok dlg@
2026-03-23 10:31:56 +00:00
dtucker
caeb49275d
Check if host keys exist before adding them, and expand on the warning
...
about modifying the system config.
2026-03-23 09:53:52 +00:00
jsg
e8352b3bec
ENONBLOCK -> EWOULDBLOCK, former does not exist
...
ok tb@
2026-03-23 09:11:44 +00:00
dtucker
5c3052f12c
Add special handling of TEST_SSH_HOSTBASED_AUTH=setupandrun.
...
This will MODIFY THE CONFIG OF THE SYSTEM IT IS RUNNING ON to enable
hostbased authentication to/from itself and run the hostbased tests. It
won't undo these changes, so don't do this on a system where this matters.
2026-03-23 09:09:36 +00:00
nicm
2f8889346b
Check lastgc is not NULL before using it, GitHub issue 4935 from Pavel
...
Lavrukhin.
2026-03-23 09:05:59 +00:00
nicm
3cce094050
Fix a NULL dereference and use after free, GitHub issue 4936 from Pavel
...
Lavrukhin.
2026-03-23 09:03:43 +00:00
nicm
26ebd2a62b
Use window options for cursor-style to avoid crash when no pane, from
...
Arden Packeer in GitHub issue 4942.
2026-03-23 08:58:39 +00:00
nicm
875a5c2723
Fix issue where popup window gets overwritten by background updates,
...
from Conor Taylor in GitHub issue 4920.
2026-03-23 08:48:32 +00:00
nicm
1fe9e23244
Protect against overflow when scrollbar is off screen, from san65384 at
...
gmail dot com in GitHub issue 4933.
2026-03-23 08:45:30 +00:00
jsg
0a6ed9a34c
Circiut -> Circuit
2026-03-23 08:42:22 +00:00
jsg
0eec633452
reveresal -> reversal
2026-03-23 08:37:35 +00:00
bentley
ac4ca98774
Declare font media types as specified in RFC 8081.
...
application/vnd.oasis.opendocument.formula-template is now associated
with the file extension odft rather than otf.
ok tb@
2026-03-23 07:51:08 +00:00
djm
b993bf76c5
clarify that Authorized(Keys|Principals)(File|Command) are only
...
consulted for valid users.
clarify that TOKENS are expanded without sanitisation or escaping
and that it's the user's reponsibility to ensure their usage is
safe.
prompted by bz3936; feedback/ok deraadt@
2026-03-23 01:33:46 +00:00
bluhm
ccfcb3e6ef
Protect IGMP and MLD6 fast timer with rwlock.
...
Multicast interface addresses for IPv4 and IPv6 get their own per
interface lock. Protect the TAILQ if_maddrlist with rwlock
if_maddrlock. Also struct in_multi and in6_multi use this lock for
their state and timer. Sleeps in malloc(9) are possible. Run IGMP
and MLD6 fast timeout with shared instead of exclusive net lock.
To prevent calling ip_output() or ip6_output() while holding the
multicast lock, delay igmp_sendpkt() and mld6_sendpkt(). All
information that is needed to create and send a multicast packet
is stored in igmp_pktinfo or mld6_pktinfo. If necessary, multiple
pktinfo are queued. After the lock has been released, packes are
sent based on pktinfo.
OK mvs@
2026-03-22 23:14:00 +00:00
millert
7a2bcefe64
The maximum S/Key sequence number is 10,000 not 1,000.
...
From Andy Bradford
2026-03-22 15:17:09 +00:00
sthen
33c7e43e4e
tweak MODPY_PYBUILD section, avoid some duplication, give a hint about
...
setting MODCARGO_CARGOTOML for maturin ports
2026-03-22 13:56:06 +00:00
deraadt
b62a05dc00
Found another deeply hidden open /dev/null O_RDWR which was happening
...
in awk -safe mode. Reproducer is awk -safe '{ close("/dev/stdin"); }
Rerrange the pledges and unveils to make it work.
ok millert dgl
2026-03-22 05:07:06 +00:00