[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190520055731.24538-1-hch@lst.de>
Date: Mon, 20 May 2019 07:57:27 +0200
From: Christoph Hellwig <hch@....de>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Sami Tolvanen <samitolvanen@...gle.com>,
Kees Cook <keescook@...omium.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
linux-mtd@...ts.infradead.org, linux-nfs@...r.kernel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: fix filler_t callback type mismatches v2
Casting mapping->a_ops->readpage to filler_t causes an indirect call
type mismatch with Control-Flow Integrity checking. This change fixes
the mismatch in read_cache_page_gfp and read_mapping_page by adding
using a NULL filler argument as an indication to call ->readpage
directly, and by passing the right parameter callbacks in nfs and jffs2.
Changes since v1:
- add the 9p patch to the series
- drop the nfs patch that has been merged
Powered by blists - more mailing lists