From: David S. Miller Date: Mon, 11 Sep 2023 07:26:11 +0000 (+0100) Subject: Merge branch 'rule_buf-OOB' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0b9c3914ad92e6ac69368a87c82796c4611b7758;p=linux.git Merge branch 'rule_buf-OOB' Hangyu Hua says: ==================== Fix possible OOB write when using rule_buf ADD bounds checks in bcmasp_netfilt_get_all_active and mvpp2_ethtool_get_rxnfc and mtk_hwlro_get_fdir_all when using rule_buf from ethtool_get_rxnfc. v2: [PATCH v2 1/3]: use -EMSGSIZE instead of truncating the list sliently. [PATCH v2 3/3]: drop the brackets. ==================== Signed-off-by: David S. Miller --- 0b9c3914ad92e6ac69368a87c82796c4611b7758