Request for review for 4.4-st78, 4.4-cip113
Hi!
Here are the manual backports for the upcoming 4.4 kernel release. As always they can be found in https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/log/?h=linux-4.4.y-st-rc
6fc536e081b4e cdrom, scsi: sr: propagate read-only status to block layer via set_disk_ro() a70db8dc8aa2d bcache: fix cached_dev.sb_bio use-after-free and crash d6dc394717b9d can: mcp251x: add error handling for power enable in open and resume 270f518e2aab7 batman-adv: tt: fix negative tt_buff_lenb9d56f0fa7881 batman-adv: tt: fix negative last_changeset_len2ea84dbb4204d batman-adv: frag: disallow unicast fragment in fragment 3075eb7fe5a6a batman-adv: fix fragment reassembly length accounting 5c81177e39927 batman-adv: clear current gateway during teardown516397de58548 net: usb: rtl8150: fix use-after-free in rtl8150_start_xmit() 2c14f681cb8ca netfilter: nf_conntrack_sip: don't use simple_strtoul a177703144795 netfilter: arp_tables: fix IEEE1394 ARP payload parsing 90d4b856cc573 netfilter: conntrack: remove sprintf usagea5e1c4172bf7b sctp: fix OOB write to userspace in sctp_getsockopt_peer_auth_chunks a4e3e33596f1b HID: usbhid: fix deadlock in hid_post_reset()b2df99543367b ALSA: core: Validate compress device numbers without dynamic minors a856ea763a0c8 batman-adv: bla: put backbone reference on failed claim hash insert 420d73ca52ee2 batman-adv: bla: only purge non-released claims283a66b993a78 batman-adv: bla: prevent use-after-free when deleting claims 1f1f946bac592 power: supply: max17042: avoid overflow when determining health 0bd353e476ab2 fbdev: udlfb: add vm_ops to dlfb_ops_mmap to prevent use-after-free e27540595d282 md/raid5: fix soft lockup in retry_aligned_read()16b4cbdf426d7 lib/ts_kmp: fix integer overflow in pattern length calculation f03a0d998b054 ALSA: control: Validate buf_len before strnlen() in snd_ctl_elem_init_enum_names() 7d2c7f0155186 gfs2: Validate i_depth for exhash directories06c757446f45d rxrpc: reject undecryptable rxkad response ticketsf842b70abca24 wifi: brcmfmac: validate bsscfg indices in IF events
Thanks for having a look!
CU
Uli
Pavel Machek
Reviewed-byHi!
Quoted 3 lines
Here are the manual backports for the upcoming 4.4 kernel release. As always they can be found in https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/log/?h=linux-4.4.y-st-rc
For now, I have not checked the batman-adv stuff. Two comments below.
a > 6fc536e081b4e cdrom, scsi: sr: propagate read-only status to block layer via set_disk_ro()
a > a70db8dc8aa2d bcache: fix cached_dev.sb_bio use-after-free and crash
a operation order in error handling does not match initialization > d6dc394717b9d can: mcp251x: add error handling for power enable in open and resume
Quoted 5 lines
270f518e2aab7batman-adv: tt: fix negativett_buff_lenb9d56f0fa7881batman-adv: tt: fix negativelast_changeset_len2ea84dbb4204dbatman-adv: frag: disallow unicast fragment in fragment3075eb7fe5a6abatman-adv: fix fragment reassembly length accounting5c81177e39927batman-adv: clear current gateway during teardown
a > 516397de58548 net: usb: rtl8150: fix use-after-free in rtl8150_start_xmit()
a introduces stricter parsing > 2c14f681cb8ca netfilter: nf_conntrack_sip: don't use simple_strtoul a > a177703144795 netfilter: arp_tables: fix IEEE1394 ARP payload parsing
a > 90d4b856cc573 netfilter: conntrack: remove sprintf usage
a > a5e1c4172bf7b sctp: fix OOB write to userspace in sctp_getsockopt_peer_auth_chunks
a just a robustness against fairly interesting device > a4e3e33596f1b HID: usbhid: fix deadlock in hid_post_reset() a also removes a comment > b2df99543367b ALSA: core: Validate compress device numbers without dynamic minors
Quoted 3 lines
a856ea763a0c8batman-adv: bla: put backbone reference on failed claim hash insert420d73ca52ee2batman-adv: bla: only purge non-released claims283a66b993a78batman-adv: bla: prevent use-after-free when deleting claims
a just a fix for unusual dts > 1f1f946bac592 power: supply: max17042: avoid overflow when determining health
! no dec in munmap? , c/e, will we now have framebuffer refusing resize? > 0bd353e476ab2 fbdev: udlfb: add vm_ops to dlfb_ops_mmap to prevent use-after-free
I don't see how this works. mmap_count is increased in mmap, but I don't see corresponding decrease in munmap.
a > e27540595d282 md/raid5: fix soft lockup in retry_aligned_read()
! check_mul_overflow -- is it generic for all types? does sizeof > return size_t?...? > 16b4cbdf426d7 lib/ts_kmp: fix integer overflow in pattern length calculation
+ unsigned int prefix_tbl_len;
+ if (unlikely(check_mul_overflow(len, sizeof(*kmp->prefix_tbl),
+ &prefix_tbl_len) ||
AFAICT sizeof returns size_t, so I'd be much if prefix_tbl_len was size_t, too.
a just clang fortify workaround > f03a0d998b054 ALSA: control: Validate buf_len before strnlen() in snd_ctl_elem_init_enum_names() a > 7d2c7f0155186 gfs2: Validate i_depth for exhash directories
a > 06c757446f45d rxrpc: reject undecryptable rxkad response tickets
a > f842b70abca24 wifi: brcmfmac: validate bsscfg indices in IF events
Quoted 1 line
Best regards,
Pavel
Hi!
Thanks for the reviews.
Quoted 2 lines · CEST Pavel Machek via lists.cip-project.org
For now, I have not checked the batman-adv stuff. Two comments below.
[...]
Quoted 4 lines
! no dec in munmap? , c/e, will we now have framebuffer refusing resize? >
0bd353e476ab2fbdev: udlfb: addvm_opstodlfb_ops_mmapto prevent use-after-freeI don't see how this works.
mmap_countis increased in mmap, but I don't see corresponding decrease in munmap.
Yup, same issue in mainline, it seems. I'll drop it.
Quoted 9 lines
a >
e27540595d282md/raid5: fix soft lockup inretry_aligned_read()
!check_mul_overflow-- is it generic for all types? does sizeof > returnsize_t?...? >16b4cbdf426d7lib/ts_kmp: fix integer overflow in pattern length calculation(quoted diff) +3
-0+ unsigned int prefix_tbl_len; + if (unlikely(check_mul_overflow(len, sizeof(*kmp->prefix_tbl), + &prefix_tbl_len) ||AFAICT sizeof returns
size_t, so I'd be much ifprefix_tbl_lenwassize_t, too.
Fair enough, but that's how it is in mainline, and unless there is something actually broken I'd prefer to keep it that way to avoid conflicts with future patches.
CU
Uli
[email protected]
Reviewed-byHi Ulrich,
Thanks for your update.
Quoted 46 lines
-----Original Message-----
From: Ulrich Hecht <[email protected]>
Sent: Tuesday, July 7, 2026 10:51 PM
To: [email protected]; [email protected]; iwamatsu nobuhiro(岩 松 信洋 □DITC○CPT) <[email protected]>
Subject: Request for review for 4.4-st78, 4.4-cip113Hi!
Here are the manual backports for the upcoming 4.4 kernel release. As always they can be found in
https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/log/?h=linu
x-4.4.y-st-rc
6fc536e081b4ecdrom, scsi: sr: propagate read-only status to block layer viaset_disk_ro()a70db8dc8aa2dbcache: fix cached_dev.sb_bio use-after-free and crashd6dc394717b9dcan: mcp251x: add error handling for power enable in open and resume270f518e2aab7batman-adv: tt: fix negativett_buff_lenb9d56f0fa7881batman-adv: tt: fix negativelast_changeset_len2ea84dbb4204dbatman-adv: frag: disallow unicast fragment in fragment3075eb7fe5a6abatman-adv: fix fragment reassembly length accounting5c81177e39927batman-adv: clear current gateway during teardown516397de58548net: usb: rtl8150: fix use-after-free inrtl8150_start_xmit()2c14f681cb8canetfilter:nf_conntrack_sip: don't usesimple_strtoula177703144795netfilter:arp_tables: fix IEEE1394 ARP payload parsing90d4b856cc573netfilter: conntrack: remove sprintf usagea5e1c4172bf7bsctp:
fix OOB write to userspace insctp_getsockopt_peer_auth_chunksa4e3e33596f1bHID: usbhid: fix deadlock inhid_post_reset()b2df99543367b
ALSA: core: Validate compress device numbers without dynamic minorsa856ea763a0c8batman-adv: bla: put backbone reference on failed claim hash insert420d73ca52ee2batman-adv: bla: only purge non-released claims283a66b993a78batman-adv: bla: prevent use-after-free when deleting claims1f1f946bac592power: supply: max17042: avoid overflow when determining health0bd353e476ab2fbdev: udlfb: addvm_opstodlfb_ops_mmapto prevent use-after-freee27540595d282md/raid5: fix soft lockup inretry_aligned_read()16b4cbdf426d7lib/ts_kmp: fix integer overflow in pattern length calculationf03a0d998b054ALSA: control: Validatebuf_lenbeforestrnlen()insnd_ctl_elem_init_enum_names()7d2c7f0155186gfs2: Validatei_depthfor exhash directories06c757446f45d
rxrpc: reject undecryptable rxkad response ticketsf842b70abca24wifi: brcmfmac: validate bsscfg indices in IF events
Quoted 1 line
Thanks for having a look!
I reviewed this series, There doesn't seem to be issue.
Quoted 3 lines
CU
Uli
Best regards,
Nobuhiro