public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Justin M. Forbes <jforbes@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/kernel] rawhide: kernel-7.3.0-0.rc3.260916g9b87fdc9af2f.34
Date: Wed, 16 Sep 2026 19:06:55 GMT	[thread overview]
Message-ID: <178958561591.1.17431993445083868439.rpms-kernel-e153091b06ee@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/kernel
            Branch : rawhide
            Commit : e153091b06ee85bc80a21357eecf651eb5d295e2
            Author : Justin M. Forbes <jforbes@fedoraproject.org>
            Date   : 2026-09-16T13:06:38-06:00
            Stats  : +131/-2 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/kernel/c/e153091b06ee85bc80a21357eecf651eb5d295e2?branch=rawhide

            Log:
            kernel-7.3.0-0.rc3.260916g9b87fdc9af2f.34

* Wed Sep 16 2026 Fedora Kernel Team <kernel-team@fedoraproject.org> [7.3.0-0.rc3.9b87fdc9af2f.34]
- redhat: fix builds by disabling HYPERV_MOUSE_KUNIT_TEST (Nico Pache)
- sched: move stack_canary to the start of the randomizable region (Scott Weaver)
- automotive: enable HUGETLBFS to workaround build error (Scott Weaver)
Resolves:

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>

---
diff --git a/Patchlist.changelog b/Patchlist.changelog
index d607b82..9d84203 100644
--- a/Patchlist.changelog
+++ b/Patchlist.changelog
@@ -1,3 +1,6 @@
+https://gitlab.com/cki-project/kernel-ark/-/commit/a332c348910b3a190e497d49ab01f39e6a68f9f2
+ a332c348910b3a190e497d49ab01f39e6a68f9f2 Revert "isofs: Drop support of directory entries straddling blocks"
+
 https://gitlab.com/cki-project/kernel-ark/-/commit/23b9796ebedddb871a84e4445667eeda2314248a
  23b9796ebedddb871a84e4445667eeda2314248a sched: move stack_canary to the start of the randomizable region
 

diff --git a/kernel.spec b/kernel.spec
index ed7cc2d..ccce53e 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -4855,6 +4855,9 @@ fi\
 #
 #
 %changelog
+* Wed Sep 16 2026 Justin M. Forbes <jforbes@fedoraproject.org> [7.3.0-0.rc3.260916g9b87fdc9af2f.34]
+- Revert "isofs: Drop support of directory entries straddling blocks" (Justin M. Forbes)
+
 * Wed Sep 16 2026 Fedora Kernel Team <kernel-team@fedoraproject.org> [7.3.0-0.rc3.9b87fdc9af2f.34]
 - redhat: fix builds by disabling HYPERV_MOUSE_KUNIT_TEST (Nico Pache)
 - sched: move stack_canary to the start of the randomizable region (Scott Weaver)

diff --git a/patch-7.3-redhat.patch b/patch-7.3-redhat.patch
index 485f877..69db3e7 100644
--- a/patch-7.3-redhat.patch
+++ b/patch-7.3-redhat.patch
@@ -42,6 +42,8 @@
  fs/afs/main.c                                      |   3 +
  fs/erofs/super.c                                   |   9 +
  fs/ext4/super.c                                    |  11 +
+ fs/isofs/dir.c                                     |  28 +-
+ fs/isofs/namei.c                                   |  35 +-
  include/linux/crypto.h                             |   2 +
  include/linux/efi.h                                |  22 +-
  include/linux/kernel.h                             |  28 ++
@@ -75,7 +77,7 @@
  tools/testing/selftests/bpf/DENYLIST.rhel          |  76 +++
  tools/testing/selftests/bpf/Makefile               |   2 +-
  tools/testing/selftests/bpf/prog_tests/ksyms_btf.c |  31 --
- 77 files changed, 2679 insertions(+), 113 deletions(-)
+ 79 files changed, 2731 insertions(+), 124 deletions(-)
 
 diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
 index 33cd30996e47..ac78c658c2ca 100644
@@ -1725,6 +1727,127 @@ index bca0dc87d0b7..01940cbe1ad8 100644
  	/* Register sysfs after all initializations are complete. */
  	err = ext4_register_sysfs(sb);
  	if (err)
+diff --git a/fs/isofs/dir.c b/fs/isofs/dir.c
+index c7ca7603e97a..a96268c9ca41 100644
+--- a/fs/isofs/dir.c
++++ b/fs/isofs/dir.c
+@@ -84,7 +84,7 @@ int get_acorn_filename(struct iso_directory_record *de,
+  */
+ static int do_isofs_readdir(struct inode *inode, struct file *file,
+ 		struct dir_context *ctx,
+-		char *tmpname)
++		char *tmpname, struct iso_directory_record *tmpde)
+ {
+ 	unsigned long bufsize = ISOFS_BUFFER_SIZE(inode);
+ 	unsigned char bufbits = ISOFS_BUFFER_BITS(inode);
+@@ -133,7 +133,24 @@ static int do_isofs_readdir(struct inode *inode, struct file *file,
+ 		offset_saved = offset;
+ 		offset += de_len;
+ 
+-		if (!isofs_dir_record_valid(de, offset_saved, bufsize)) {
++		/* Make sure we have a full directory entry */
++		if (offset >= bufsize) {
++			int slop = bufsize - offset + de_len;
++			memcpy(tmpde, de, slop);
++			offset &= bufsize - 1;
++			block++;
++			brelse(bh);
++			bh = NULL;
++			if (offset) {
++				bh = isofs_bread(inode, block);
++				if (!bh)
++					return 0;
++				memcpy((void *) tmpde + slop, bh->b_data, offset);
++			}
++			de = tmpde;
++		}
++		if (!isofs_dir_record_valid(de, de == tmpde ? 0 : offset_saved,
++					    de == tmpde ? de_len : bufsize)) {
+ 			printk(KERN_NOTICE "iso9660: Corrupted directory entry"
+ 			       " in block %lu of inode %llu\n", block,
+ 			       inode->i_ino);
+@@ -235,13 +252,16 @@ static int isofs_readdir(struct file *file, struct dir_context *ctx)
+ {
+ 	int result;
+ 	char *tmpname;
++	struct iso_directory_record *tmpde;
+ 	struct inode *inode = file_inode(file);
+ 
+-	tmpname = kmalloc(1024, GFP_KERNEL);
++	tmpname = kmalloc(PAGE_SIZE, GFP_KERNEL);
+ 	if (tmpname == NULL)
+ 		return -ENOMEM;
+ 
+-	result = do_isofs_readdir(inode, file, ctx, tmpname);
++	tmpde = (struct iso_directory_record *) (tmpname+1024);
++
++	result = do_isofs_readdir(inode, file, ctx, tmpname, tmpde);
+ 
+ 	kfree(tmpname);
+ 	return result;
+diff --git a/fs/isofs/namei.c b/fs/isofs/namei.c
+index 010682f5901a..a161b28893d6 100644
+--- a/fs/isofs/namei.c
++++ b/fs/isofs/namei.c
+@@ -48,7 +48,7 @@ isofs_cmp(struct dentry *dentry, const char *compare, int dlen)
+ static unsigned long
+ isofs_find_entry(struct inode *dir, struct dentry *dentry,
+ 	unsigned long *block_rv, unsigned long *offset_rv,
+-	char *tmpname)
++	char *tmpname, struct iso_directory_record *tmpde)
+ {
+ 	unsigned long bufsize = ISOFS_BUFFER_SIZE(dir);
+ 	unsigned char bufbits = ISOFS_BUFFER_BITS(dir);
+@@ -91,7 +91,25 @@ isofs_find_entry(struct inode *dir, struct dentry *dentry,
+ 		offset += de_len;
+ 		f_pos += de_len;
+ 
+-		if (!isofs_dir_record_valid(de, offset_saved, bufsize)) {
++		/* Make sure we have a full directory entry */
++		if (offset >= bufsize) {
++			int slop = bufsize - offset + de_len;
++			memcpy(tmpde, de, slop);
++			offset &= bufsize - 1;
++			block++;
++			brelse(bh);
++			bh = NULL;
++			if (offset) {
++				bh = isofs_bread(dir, block);
++				if (!bh)
++					return 0;
++				memcpy((void *) tmpde + slop, bh->b_data, offset);
++			}
++			de = tmpde;
++		}
++
++		if (!isofs_dir_record_valid(de, de == tmpde ? 0 : offset_saved,
++					    de == tmpde ? de_len : bufsize)) {
+ 			printk(KERN_NOTICE "iso9660: Corrupted directory entry"
+ 			       " in block %lu of inode %llu\n", block,
+ 			       dir->i_ino);
+@@ -151,14 +169,17 @@ struct dentry *isofs_lookup(struct inode *dir, struct dentry *dentry, unsigned i
+ 	unsigned long block;
+ 	unsigned long offset;
+ 	struct inode *inode;
+-	char *tmpname;
++	struct page *page;
+ 
+-	tmpname = kmalloc(1024, GFP_USER);
+-	if (!tmpname)
++	page = alloc_page(GFP_USER);
++	if (!page)
+ 		return ERR_PTR(-ENOMEM);
+ 
+-	found = isofs_find_entry(dir, dentry, &block, &offset, tmpname);
+-	kfree(tmpname);
++	found = isofs_find_entry(dir, dentry,
++				&block, &offset,
++				page_address(page),
++				1024 + page_address(page));
++	__free_page(page);
+ 
+ 	inode = found ? isofs_iget(dir->i_sb, block, offset) : NULL;
+ 
 diff --git a/include/linux/crypto.h b/include/linux/crypto.h
 index b7c97f1c47c9..0a484f45b24a 100644
 --- a/include/linux/crypto.h

diff --git a/sources b/sources
index 79e6297..7880845 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
 SHA512 (linux-7.3-rc3-78-g9b87fdc9af2f.tar.xz) = d02b40effafcc61ad5bca8826aa513540adf3d49d4e881be96f32afa74f3abe13112ab4730cdd7549eb8d21572f7a1d4370a198fd03563efacc6c8835d25096f
-SHA512 (kernel-abi-stablelists-7.3.0.tar.xz) = 0b1dd705fafb2bcb71ade5a50a46c300777ba2afd58f40d151d946df224d2a66aa61c94fa1000ca87431af3da6bde6d110084286530845293b64eb3eb93f1d0f
+SHA512 (kernel-abi-stablelists-7.3.0.tar.xz) = 353713996cb8239a090f0e00ee2818e236d232ad2a85c40ca3f2e8b47efe6d3e6d98fd10d6dac7971dc90a2774ac371b2154eea9da7e3ee5594da3a77382a846
 SHA512 (kernel-kabi-dw-7.3.0.tar.xz) = 49b277ac767b5fcde40d5f3c429cfa5550906e57ade88d3d4a4780a43ed98fc3437147eba52622373766433dd7c75c53fa9c53d2a49daa1756cca811dd0cd8f9

             reply	other threads:[~2026-09-16 19:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-16 19:06 Justin M. Forbes [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-09-16 17:47 [rpms/kernel] rawhide: kernel-7.3.0-0.rc3.260916g9b87fdc9af2f.34 Justin M. Forbes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178958561591.1.17431993445083868439.rpms-kernel-e153091b06ee@fedoraproject.org \
    --to=jforbes@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox