From: "Theodore Ts'o" <tytso@mit.edu>
To: linux-ext4@vger.kernel.org, Baokun Li <libaokun1@huawei.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>,
adilger.kernel@dilger.ca, jack@suse.cz, ritesh.list@gmail.com,
ojaswin@linux.ibm.com, adobriyan@gmail.com,
linux-kernel@vger.kernel.org, yi.zhang@huawei.com,
yangerkun@huawei.com
Subject: Re: [PATCH v4 0/9] ext4: avoid sysfs variables overflow causing BUG_ON/SOOB
Date: Fri, 3 May 2024 00:01:48 -0400 [thread overview]
Message-ID: <171470889035.3010818.10968009452859195191.b4-ty@mit.edu> (raw)
In-Reply-To: <20240319113325.3110393-1-libaokun1@huawei.com>
On Tue, 19 Mar 2024 19:33:16 +0800, Baokun Li wrote:
> This patchset is intended to avoid variables that can be modified via sysfs
> from overflowing when stored or used and thus causing various problems.
>
> "kvm-xfstests -c ext4/all -g auto" has been executed with no new failures.
>
> V3->V4:
> Patch 4: Corrects WARN_ON_ONCE added in V3.
>
> [...]
Applied, thanks!
[1/9] ext4: avoid overflow when setting values via sysfs
commit: 9e8e819f8f272c4e5dcd0bd6c7450e36481ed139
[2/9] ext4: refactor out ext4_generic_attr_store()
commit: f536808adcc37a546bf9cc819c349bd55a28159b
[3/9] ext4: refactor out ext4_generic_attr_show()
commit: 57341fe3179c7694c92dcf99e7f836cee4c800dd
[4/9] ext4: fix slab-out-of-bounds in ext4_mb_find_good_group_avg_frag_lists()
commit: 13df4d44a3aaabe61cd01d277b6ee23ead2a5206
[5/9] ext4: add new attr pointer attr_mb_order
commit: b7b2a5799b8fafe95fcd5455c32ba2c643c86f99
[6/9] ext4: add positive int attr pointer to avoid sysfs variables overflow
commit: 63bfe841053f8dda09c9d059d543486d9dc16104
[7/9] ext4: set type of ac_groups_linear_remaining to __u32 to avoid overflow
commit: 9a9f3a9842927e4af7ca10c19c94dad83bebd713
[8/9] ext4: set the type of max_zeroout to unsigned int to avoid overflow
commit: 261341a932d9244cbcd372a3659428c8723e5a49
[9/9] ext4: clean up s_mb_rb_lock to fix build warnings with C=1
commit: e19089dff547c9e1f09712acc3536d7b0aa9ce3d
Best regards,
--
Theodore Ts'o <tytso@mit.edu>
prev parent reply other threads:[~2024-05-03 4:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-19 11:33 [PATCH v4 0/9] ext4: avoid sysfs variables overflow causing BUG_ON/SOOB Baokun Li
2024-03-19 11:33 ` [PATCH v4 1/9] ext4: avoid overflow when setting values via sysfs Baokun Li
2024-03-19 11:33 ` [PATCH v4 2/9] ext4: refactor out ext4_generic_attr_store() Baokun Li
2024-03-19 11:33 ` [PATCH v4 3/9] ext4: refactor out ext4_generic_attr_show() Baokun Li
2024-03-19 11:33 ` [PATCH v4 4/9] ext4: fix slab-out-of-bounds in ext4_mb_find_good_group_avg_frag_lists() Baokun Li
2024-03-19 11:33 ` [PATCH v4 5/9] ext4: add new attr pointer attr_mb_order Baokun Li
2024-03-19 11:33 ` [PATCH v4 6/9] ext4: add positive int attr pointer to avoid sysfs variables overflow Baokun Li
2024-03-19 11:33 ` [PATCH v4 7/9] ext4: set type of ac_groups_linear_remaining to __u32 to avoid overflow Baokun Li
2024-03-19 11:33 ` [PATCH v4 8/9] ext4: set the type of max_zeroout to unsigned int " Baokun Li
2024-03-19 11:33 ` [PATCH v4 9/9] ext4: clean up s_mb_rb_lock to fix build warnings with C=1 Baokun Li
2024-04-23 1:44 ` [PATCH v4 0/9] ext4: avoid sysfs variables overflow causing BUG_ON/SOOB Baokun Li
2024-05-03 2:03 ` Baokun Li
2024-05-03 3:14 ` Theodore Ts'o
2024-05-03 3:22 ` Baokun Li
2024-05-03 4:01 ` Theodore Ts'o [this message]
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=171470889035.3010818.10968009452859195191.b4-ty@mit.edu \
--to=tytso@mit.edu \
--cc=adilger.kernel@dilger.ca \
--cc=adobriyan@gmail.com \
--cc=jack@suse.cz \
--cc=libaokun1@huawei.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ojaswin@linux.ibm.com \
--cc=ritesh.list@gmail.com \
--cc=yangerkun@huawei.com \
--cc=yi.zhang@huawei.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).