Re: [tip:x86/pti] x86/retpoline: Fill return stack buffer on vmexit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:x86/pti] x86/retpoline: Fill return stack buffer on vmexit
- From: Borislav Petkov <bp@xxxxxxxxx>
- Date: Thu, 25 Jan 2018 20:10:46 +0100
- Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>, tim.c.chen@xxxxxxxxxxxxxxx, pjt@xxxxxxxxxx, jikos@xxxxxxxxxx, gregkh@xxxxxxxxxxxxxxxxxxxx, dave.hansen@xxxxxxxxx, mingo@xxxxxxxxxx, riel@xxxxxxxxxx, luto@xxxxxxxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx, ak@xxxxxxxxxxxxxxx, keescook@xxxxxxxxxx, peterz@xxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx, hpa@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <20180125190729.jxey2k44sptuk42t@pd.tnic>
- References: <1516882849.30244.94.camel@infradead.org> <20180125124554.vdx7rrnfrxrzl2ng@pd.tnic> <20180125151024.bidjr26r667vs7h5@treble> <20180125155110.mw655b7fwgm7qqc7@pd.tnic> <1516896198.30244.133.camel@infradead.org> <20180125165646.ytc4upthpaqtwi45@treble> <1516899639.30244.145.camel@infradead.org> <20180125175334.7wlin4ftnqkq2fil@pd.tnic> <1516903463.30244.148.camel@infradead.org> <20180125190729.jxey2k44sptuk42t@pd.tnic>
- User-agent: NeoMutt/20170609 (1.8.3)
On Thu, Jan 25, 2018 at 08:07:29PM +0100, Borislav Petkov wrote:
> static inline void vmexit_fill_RSB(void)
> {
> #ifdef CONFIG_RETPOLINE
> alternative_input("", "call __fill_rsb_clobber_ax", X86_FEATURE_RETPOLINE, ASM_NO_INPUT_CLOBBER("memory"));
Whoops, forgot the clobbers:
alternative_input("", "call __fill_rsb_clobber_ax", X86_FEATURE_RETPOLINE, ASM_NO_INPUT_CLOBBER(_ASM_AX, "memory"));
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]