lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 8 May 2019 10:05:25 +1000
From:   Stephen Rothwell <>
To:     Artem Bityutskiy <>
Cc:     Linux Next Mailing List <>,
        Linux Kernel Mailing List <>,
        Eric Biggers <>,
        Herbert Xu <>,
        Arnd Bergmann <>,
        Richard Weinberger <>
Subject: linux-next: manual merge of the ubifs tree with Linus' tree

Hi all,

Today's linux-next merge of the ubifs tree got a conflict in:


between commit:

  877b5691f27a ("crypto: shash - remove shash_desc::flags")

from Linus' tree and commit:

  f4844b35d68a ("ubifs: work around high stack usage with clang")

from the ubifs tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

Stephen Rothwell

diff --cc fs/ubifs/auth.c
index b758004085c4,3d049194afa4..000000000000
--- a/fs/ubifs/auth.c
+++ b/fs/ubifs/auth.c
@@@ -85,12 -86,17 +84,16 @@@ int ubifs_prepare_auth_node(struct ubif
  	if (!hash)
  		return -ENOMEM;
- 	hash_desc->tfm = c->hash_tfm;
- 	ubifs_shash_copy_state(c, inhash, hash_desc);
+ 	{
+ 		SHASH_DESC_ON_STACK(hash_desc, c->hash_tfm);
- 	err = crypto_shash_final(hash_desc, hash);
- 	if (err)
- 		goto out;
+ 		hash_desc->tfm = c->hash_tfm;
 -		hash_desc->flags = CRYPTO_TFM_REQ_MAY_SLEEP;
+ 		ubifs_shash_copy_state(c, inhash, hash_desc);
+ 		err = crypto_shash_final(hash_desc, hash);
+ 		if (err)
+ 			goto out;
+ 	}
  	err = ubifs_hash_calc_hmac(c, hash, auth->hmac);
  	if (err)

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists