Request for review for 4.19-st16, 4.19-cip132
Hi!
Here are the manual backports for the upcoming 4.19 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.19.y-st-rc
c2d401e101f6f x86/CPU: Fix FPDSS on Zen1f6b624b78e703 seg6: separate dst_cache for input and output paths in seg6 lwtunnel 5e61028ae2137 netfilter: nft_ct: fix use-after-free in timeout object destroy f7c9c8b6a3c7e apparmor: fix differential encoding verification48287285f14b5 apparmor: fix missing bounds check on DEFAULT table in verify_dfa() 91c9727179f31 ext4: convert inline data to extents when truncate exceeds inline size ffa20b32fd35c virtio_net: Fix UAF on dst_ops when IFF_XMIT_DST_RELEASE is cleared and napi_tx is false 2ae9ce04a67ad ipv6: fix NULL pointer deref in ip6_rt_get_dev_rcu()29acc58f3339c crypto: authenc - use memcpy_sglist() instead of null skcipher 65888314e8d59 crypto: algif_aead - use memcpy_sglist() instead of null skcipher 1ace4d448870d crypto: doc - fix kernel-doc notation in chacha.c and af_alg.c 5b3a91c42591d xen/privcmd: fix double free via VMA splitting
Most copy-fail-related patches did not require a manual backport from 5.10, but in case somebody wants to give them a quick look anyway:
ebdc118c0b26e crypto: af_alg - Fix page reassignment overflow in af_alg_pull_tsgl c179b717b58fe crypto: authencesn - Fix src offset when decrypting in-place 7b115c6573f4d crypto: authencesn - Do not place hiseq at end of dst for out-of-place decryption 3a3b130398dee crypto: algif_aead - snapshot IV for async AEAD requests 0bf0afd65c4bd crypto: algif_aead - Revert to operating out-of-place 02b8603f1d1c9 crypto: algif_aead - Fix minimum RX size check for decryption ab59e176f0f35 crypto: scatterwalk - Backport memcpy_sglist()
Thank you!
CU
Uli
Hi Uli,
Thanks for your updating linux-4.19.y tree.
2026年5月5日(火) 3:28 Ulrich Hecht via lists.cip-project.org <[email protected]>:
Quoted 20 lines
Hi!
Here are the manual backports for the upcoming 4.19 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.19.y-st-rc
c2d401e101f6fx86/CPU: Fix FPDSS on Zen1f6b624b78e703seg6: separatedst_cachefor input and output paths in seg6 lwtunnel5e61028ae2137netfilter:nft_ct: fix use-after-free in timeout object destroyf7c9c8b6a3c7eapparmor: fix differential encoding verification48287285f14b5apparmor: fix missing bounds check on DEFAULT table inverify_dfa()91c9727179f31ext4: convert inline data to extents when truncate exceeds inline sizeffa20b32fd35cvirtio_net: Fix UAF ondst_opswhenIFF_XMIT_DST_RELEASEis cleared andnapi_txis false2ae9ce04a67adipv6: fix NULL pointer deref inip6_rt_get_dev_rcu()29acc58f3339ccrypto: authenc - usememcpy_sglist()instead of null skcipher65888314e8d59crypto:algif_aead- usememcpy_sglist()instead of null skcipher1ace4d448870dcrypto: doc - fix kernel-doc notation inchacha.candaf_alg.c5b3a91c42591dxen/privcmd: fix double free via VMA splittingMost copy-fail-related patches did not require a manual backport from 5.10, but in case somebody wants to give them a quick look anyway:
Quoted 7 lines
ebdc118c0b26ecrypto:af_alg- Fix page reassignment overflow inaf_alg_pull_tsglc179b717b58fecrypto: authencesn - Fix src offset when decrypting in-place7b115c6573f4dcrypto: authencesn - Do not place hiseq at end of dst for out-of-place decryption3a3b130398deecrypto:algif_aead- snapshot IV for async AEAD requests0bf0afd65c4bdcrypto:algif_aead- Revert to operating out-of-place02b8603f1d1c9crypto:algif_aead- Fix minimum RX size check for decryptionab59e176f0f35crypto: scatterwalk - Backportmemcpy_sglist()
a5c28748776c3 soc: fsl: qbman: fix race condition in qman_destroy_fq This commit will result in several build errors.
```
drivers/soc/fsl/qbman/qman.c: In function 'qman_destroy_fq':
drivers/soc/fsl/qbman/qman.c:1751:34: error: implicit declaration of
function 'qman_shutdown_fq' [-Werror=implicit-function-declaration]
1751 | leaked = qman_shutdown_fq(fq->fqid);
| ^~~~~~~~~~~~~~~~
drivers/soc/fsl/qbman/qman.c: At top level:
drivers/soc/fsl/qbman/qman.c:2604:12: error: static declaration of
'qman_shutdown_fq' follows non-static declaration
2604 | static int qman_shutdown_fq(u32 fqid)
| ^~~~~~~~~~~~~~~~
drivers/soc/fsl/qbman/qman.c:1751:34: note: previous implicit
declaration of 'qman_shutdown_fq' with type 'int()'
1751 | leaked = qman_shutdown_fq(fq->fqid);
| ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:303:
drivers/soc/fsl/qbman/qman.o] Error 1
make[3]: *** [scripts/Makefile.build:544: drivers/soc/fsl/qbman] Error 2
```Best regards,
Nobuhiro
Quoted 6 lines
Thank you!
CU
Uli
Quoted 8 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22864): https://lists.cip-project.org/g/cip-dev/message/22864
Mute This Topic: https://lists.cip-project.org/mt/119148315/4520494
Group Owner: [email protected]
Unsubscribe: https://lists.cip-project.org/g/cip-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
--
Nobuhiro Iwamatsu
Quoted 15 lines · CEST Nobuhiro Iwamatsu via lists.cip-project.org
a5c28748776c3soc: fsl: qbman: fix race condition inqman_destroy_fqThis commit will result in several build errors.``` drivers/soc/fsl/qbman/qman.c: In function 'qman_destroy_fq': drivers/soc/fsl/qbman/qman.c:1751:34: error: implicit declaration of function 'qman_shutdown_fq' [-Werror=implicit-function-declaration] 1751 | leaked = qman_shutdown_fq(fq->fqid); | ^~~~~~~~~~~~~~~~ drivers/soc/fsl/qbman/qman.c: At top level: drivers/soc/fsl/qbman/qman.c:2604:12: error: static declaration of 'qman_shutdown_fq' follows non-static declaration 2604 | static int qman_shutdown_fq(u32 fqid) | ^~~~~~~~~~~~~~~~ drivers/soc/fsl/qbman/qman.c:1751:34: note: previous implicit
Quoted 8 lines
declaration of 'qman_shutdown_fq' with type 'int()'
1751 | leaked = qman_shutdown_fq(fq->fqid);
| ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:303:
drivers/soc/fsl/qbman/qman.o] Error 1
make[3]: *** [scripts/Makefile.build:544: drivers/soc/fsl/qbman] Error 2
```Thanks for testing. I dropped the patch, the code is not enabled in any CIP configs anyway.
CU
Uli
Hi!
Quoted 2 lines
Here are the manual backports for the upcoming 4.19 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.19.y-st-rc
!a just a hw bug workaround. sure? > c2d401e101f6f x86/CPU: Fix FPDSS on Zen1
AFAICT mainline triggers on zen1, while this triggers on family == 0x17, which may be different. Hmm. Your backport is same as -stable, so maybe that's ok?
a > f6b624b78e703 seg6: separate dst_cache for input and output paths in seg6 lwtunnel
a > 5e61028ae2137 netfilter: nft_ct: fix use-after-free in timeout object destroy
a > f7c9c8b6a3c7e apparmor: fix differential encoding verification
a > 48287285f14b5 apparmor: fix missing bounds check on DEFAULT table in verify_dfa()
a > 91c9727179f31 ext4: convert inline data to extents when truncate exceeds inline size a > ffa20b32fd35c virtio_net: Fix UAF on dst_ops when IFF_XMIT_DST_RELEASE is cleared and napi_tx is false a > 2ae9ce04a67ad ipv6: fix NULL pointer deref in ip6_rt_get_dev_rcu()
a > 29acc58f3339c crypto: authenc - use memcpy_sglist() instead of null skcipher
a > 65888314e8d59 crypto: algif_aead - use memcpy_sglist() instead of null skcipher
a > 1ace4d448870d crypto: doc - fix kernel-doc notation in chacha.c and af_alg.c
a > 5b3a91c42591d xen/privcmd: fix double free via VMA splitting
You normally put [uli: backport to 4.19], Signed-off-by: Ulrich Hecht <[email protected]> headers, but I don't see one here.
Quoted 9 lines
Most copy-fail-related patches did not require a manual backport from 5.10, but in case somebody wants to give them a quick look anyway:
ebdc118c0b26ecrypto:af_alg- Fix page reassignment overflow inaf_alg_pull_tsglc179b717b58fecrypto: authencesn - Fix src offset when decrypting in-place7b115c6573f4dcrypto: authencesn - Do not place hiseq at end of dst for out-of-place decryption3a3b130398deecrypto:algif_aead- snapshot IV for async AEAD requests0bf0afd65c4bdcrypto:algif_aead- Revert to operating out-of-place02b8603f1d1c9crypto:algif_aead- Fix minimum RX size check for decryptionab59e176f0f35crypto: scatterwalk - Backportmemcpy_sglist()
I did not check these in great detail; this would really need crypto expert. I wonder how much testing of crypto we do, but we don't have much choice here, anyway.
Best regards,
Pavel
Thanks for the reviews.
Quoted 5 lines · CEST Pavel Machek via lists.cip-project.org
Hi!
Quoted 7 lines
Quoted 2 lines
Here are the manual backports for the upcoming 4.19 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.19.y-st-rc
!a just a hw bug workaround. sure? >
c2d401e101f6fx86/CPU: Fix FPDSS on Zen1AFAICT mainline triggers on zen1, while this triggers on family ==
0x17, which may be different. Hmm. Your backport is same as -stable, so maybe that's ok?
I think it's fine.
Quoted 4 lines
a >
5b3a91c42591dxen/privcmd: fix double free via VMA splittingYou normally put [uli: backport to 4.19], Signed-off-by: Ulrich Hecht <[email protected]> headers, but I don't see one here.
Fixed.
CU
Uli